CVE-2026-15830 Details
Description
An issue was discovered in Django 6.0 before 6.0.9 and 5.2 before 5.2.18. GeoDjango's `django.contrib.gis.geos.GEOSGeometry` is subject to a potential denial-of-service when parsing deeply nested `GEOMETRYCOLLECTION` objects supplied as well-known text (WKT), well-known binary (WKB), or hex-encoded WKB, which triggers unbounded recursion and a segmentation fault in the underlying GEOS library. Spatial field lookups and the `django.contrib.gis.forms.GeometryField` form field are also affected. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Andrew MacPherson and kimchunbok_ for reporting this issue.
A denial-of-service vulnerability has been identified in Django's GeoDjango component, specifically within the 'django.contrib.gis.geos.GEOSGeometry' class. This issue affects Django versions 5.2 prior to 5.2.17 and 6.0 prior to 6.0.8. The vulnerability arises when the 'GEOSGeometry' parser processes deeply nested 'GEOMETRYCOLLECTION' objects in well-known text (WKT), well-known binary (WKB), or hex-encoded WKB formats. Such nesting can lead to unbounded recursion, causing a segmentation fault in the GEOS library. The problem also extends to spatial field lookups and the 'django.contrib.gis.forms.GeometryField' form field.
Users can upgrade to Django 6.0.8 or 5.2.17, both of which include the necessary patch. Instructions for upgrading can be found in the Django release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | Django Software Foundation |
Affected Products
| Product | Versions |
|---|---|
| djangoproject django | < 5.2.17 >= 6.0, < 6.0.8 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Oct 23, 2026 | CVE Translated | [email protected] |
| Oct 8, 2026 | CVE Modified | Django Software Foundation |
| Aug 18, 2026 | Initial Analysis | [email protected] |
| Aug 4, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | New CVE Received | Django Software Foundation |