
CVE catalog
CVE-2026-15830
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 `GEO
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.11% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-django | sid | 3:5.2.18-1 | fixed |
| Debian | python-django | forky | 3:5.2.17-2 | fixed |
| Debian | python-django | trixie | 3:4.2.28-0+deb13u2 | vulnerable |
| Debian | python-django | trixie-security | 3:4.2.28-0+deb13u1 | vulnerable |
| Debian | python-django | bookworm | 3:3.2.25-0+deb12u3 | vulnerable |
| Debian | python-django | bookworm-security | 3:3.2.25-0+deb12u6 | vulnerable |
| Cpe | django | Not reported | 6.0.8 | fixed |
| PyPI | django | Not reported | 6.0.8 | fixed |
| PyPI | django | Not reported | 5.2.17 | fixed |
| PyPI | django | Not reported | 6.1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-django | source | sid | 3:5.2.17-1 | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | forky | 3:5.2.17-1 | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | trixie | (unfixed) | not yet assigned | Not reported | [1143611] |
| Debian | python-django | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143611] |
| Cpe | django | cpe | Not reported | 6.0.8 | Not reported | NVD-CVE-2026-15830 | Not reported |
| PyPI | django | PyPI | Not reported | 6.0.8 | Not reported | PYSEC-2026-3717 | Not reported |
| PyPI | django | PyPI | Not reported | 5.2.17 | Not reported | PYSEC-2026-3717 | Not reported |
| PyPI | django | PyPI | Not reported | 6.1.1 | Not reported | GHSA-Q238-5CXM-5C9H | Not reported |
Notes
[bookworm] python-django: Invasive fix; too difficult to backport; affects only GeoSpatial component
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-django]Affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
- [python-django-doc]Affected
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityAffected
nvd · python-django · debian · bookworm; nvd · python-django · debian · 12
[Debian 13 (Trixie)]
- [python3-django]Affected
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
- [python-django-doc]Affected
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityAffected
nvd · python-django · debian · 13
Observed:
References
- [https://docs.djangoproject.com/en/dev/releases/security/]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3503-1.json]
- [https://github.com/advisories/GHSA-q238-5cxm-5c9h]
- [https://github.com/django/django/commit/1eafa1a80f1363283f89208ba4499ed54e35f085]
- [https://github.com/django/django/commit/4353dfb56f8ba3a6fccc4bdd7f2ef2fbee3aa638]
- [https://github.com/django/django/commit/62ef9d40cf4ea75f16518436b44b8ab2515340df]
- [https://github.com/django/django/commit/6af5da31775417c610dbf9c3f1b5b8333d42daf6]
- [https://github.com/django/django/commit/75d401a1491e04a907ed745c128836d51c982c0f]
- [https://github.com/django/django/commit/9e4a3f186b6b07b483bfd9195ea06734663fcd06]
- [https://github.com/django/django/commit/ba80833fa656dd09660b97c4429331067db1b080]
- [https://github.com/django/django/commit/d2e59b77fe18de318a8272c2a7bbc798d84d1d0d]
- [https://groups.google.com/g/django-announce]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-15830]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-15830]
- [https://osv.dev/vulnerability/GHSA-q238-5cxm-5c9h]
- [https://security-tracker.debian.org/tracker/CVE-2026-15830]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-15830.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2649.json]
- [https://www.djangoproject.com/weblog/2026/aug/04/security-releases/]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]