Intel

AIKIDO-2026-971295

Django is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-15830 Published Aug 7, 2026

59

Medium Risk

This Affects:

PYTHONDjango
5.2.0 - 5.2.16
Fixed in 5.2.17
6.0.0 - 6.0.7
Fixed in 6.0.8
Are you affected? Scan for Free

TL;DR

GeoDjango's GEOSGeometry parses text and binary geometry input, including nested GEOMETRYCOLLECTION objects. Deeply nested collections trigger unbounded recursion in the underlying GEOS library and cause a segmentation fault that crashes the process. The fix enforces a maximum of 198 nested geometry collections for the WKT and WKB formats.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted geometry input through GeoDjango.

Background info

Django is vulnerable to Denial of Service (DoS) in versions 5.2.0 - 5.2.16 and 6.0.0 - 6.0.7.

How to fix this

Upgrade the Django library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform