GHSA-q238-5cxm-5c9h
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted WKT/WKB POST request
-
DeliveryGeometryField/GEOSGeometry receives input
-
ExploitGEOS recursive GEOMETRYCOLLECTION parsing
-
ExecutionStack exhaustion triggers segfault
-
PersistDjango worker process crashes
-
ImpactService disruption (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | The target Django application must have the GeoDjango GIS module installed and active (django.contrib.gis in INSTALLED_APPS). One or more of the following conditions must be true: (1) a view or form exposes a GeometryField form field that passes user-supplied data to GEOSGeometry using WKT or WKB format; (2) a model ORM lookup on a spatial field accepts user-controlled geometry values in WKT or WKB format; or (3) an admin changelist with a spatial model field is accessible. GeoJSON input paths are entirely unaffected. Exploitation is limited by: applications that restrict geometry input to GeoJSON only; multi-worker server configurations that auto-respawn crashed workers (limiting DoS to per-request disruption rather than full outage); and admin-facing spatial lookups which require at minimum staff-level authentication. |
| Impact | No CVSS vector or EPSS score was provided for CVE-2026-15830, and it is not listed in CISA KEV, so quantitative risk signals are absent. Django's own policy rates it 'moderate'. The realistic risk depends entirely on whether an application exposes geometry form fields or spatial lookup endpoints to untrusted users: if GeoJSON is the only accepted input format (common in REST APIs), the application is not vulnerable. A segfault crashes the Django worker process, which in multi-worker deployments (gunicorn, uWSGI) typically triggers automatic respawning, limiting the DoS window per request but enabling sustained disruption if the attacker can repeatedly send crafted payloads. There is no confidentiality or integrity impact - this is purely an availability concern. The absence of CVSS data is notable; security teams should independently score based on their specific deployment context. |
| Exploit ScenarioDerived | An unauthenticated attacker targeting a public-facing Django form that uses GeometryField (e.g., a location submission form) crafts a WKT payload consisting of 199 or more recursively nested GEOMETRYCOLLECTION(...) wrappers and submits it via a standard POST request. The payload is forwarded to GEOSGeometry, which triggers unbounded recursion in the GEOS C library, causing a segmentation fault and crashing the Django worker process. No public proof-of-concept has been identified, but the attack primitive - malformed WKT with extreme nesting - is trivially constructable from the advisory description alone. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 04, 2026
Denial-of-service via recursive GEOMETRYCOLLECTION parsing crashes Django processes through a segmentation fault in the underlying GEOS library. Django's GEOSGeometry class, GeometryField form field, and spatial field lookups in versions 5.2, 6.0, 6.1 (RC), and main are all affected when processing WKT or WKB input containing deeply nested or excessively numerous GEOMETRYCOLLECTION objects. No public exploit code or active exploitation has been identified at time of analysis; the Django team rated this 'moderate' severity and issued fixed releases Django 5.2.17 and 6.0.8 on August 4, 2026.
RemediationAI
Upgrade to Django 5.2.17 or Django 6.0.8 immediately; these releases enforce a maximum depth of 198 GEOMETRYCOLLECTION objects for WKT and a total count of 198 (across both breadth and depth) for WKB. Release tarballs and wheels are available at https://www.djangoproject.com/download/5.2.17/tarball/ and https://www.djangoproject.com/download/6.0.8/tarball/ with PGP-verified checksums. If immediate upgrade is not possible, consider restricting geometry form field and API inputs to GeoJSON format only (parsed by GDAL and not affected), or add application-level validation to reject WKT/WKB inputs that exceed a reasonable nesting depth before passing them to GEOSGeometry. The patched versions also expose a new max_geom_collections argument on GEOSGeometry, the form field, and the model field, allowing operators to customize the threshold beyond the default of 198.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in Django's GeoDjango GIS module, specifically in the GEOSGeometry class which wraps the GEOS (Geometry Engine - Open Source) C library for spatial data parsing. GEOS processes WKT and WKB geometry formats recursively; when GEOMETRYCOLLECTION nesting depth or total count exceeds safe thresholds, GEOS enters unbounded recursion leading to a stack exhaustion and segmentation fault - consistent with CWE-674 (Uncontrolled Recursion) or CWE-400 (Uncontrolled Resource Consumption). The flaw propagates through GeometryField form fields and spatial ORM lookups, meaning any Django view or admin interface that passes user-supplied WKT/WKB to GEOSGeometry is an attack surface. GeoJSON inputs are explicitly not affected because they are parsed by GDAL rather than GEOS. No CPE string or CWE identifier was provided in the source data; affected products are identified from the Django advisory text directly.
Know when Django gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Network-accessible form/API input path, no privileges required for public GeometryField forms, and impact is worker process crash (high availability, no C/I impact).
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Blast Radius
ecosystem impact- 18 pypi packages depend on django (18 direct, 0 indirect)
Ecosystem-wide dependent count for version 6.0.
Executive ViewAI
Django applications using spatial features (GeometryField, spatial lookups) are vulnerable to denial-of-service attacks via malformed geometry data (CVE-2026-15830), causing application process crashes and service disruption. Organizations running Django 5.2, 6.0, or 6.1 with geographic data processing face availability risk. Vendor patches were released August 4, 2026.
Apply vendor patch: Django 5.2.17 or 6.0.8 (released August 4, 2026). If immediate patching is infeasible, implement input validation on geometry submission endpoints and rate-limit spatial queries to reduce exposure.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9
In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. Rated critical severity (CVSS 9.8), this vulne
Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input
Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. Rated critical severity (CVSS 9.8
An authentication/authorization bypass in the djust Python live-view framework (versions prior to 1.0.7) lets unauthenti
Unauthenticated arbitrary Python module import in djust before 1.0.7 lets any client that can reach the WebSocket or SSE
Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allows SQL Injection if untrusted data is used as a
Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/j
Forged content modification in django-page-cms through 2.0.13 lets unauthenticated remote attackers exploit five CSRF-ex
Cross-site request forgery in djust's Server-Sent-Events transport affects all versions prior to 1.0.7 and allows a cros
Unauthenticated remote attackers can read live Django view and session state and invoke server-side handlers through dju
Same weakness CWE-674 – Uncontrolled Recursion
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-52749
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB