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

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpython-djangosid3:5.2.18-1fixed
Debianpython-djangoforky3:5.2.17-2fixed
Debianpython-djangotrixie3:4.2.28-0+deb13u2vulnerable
Debianpython-djangotrixie-security3:4.2.28-0+deb13u1vulnerable
Debianpython-djangobookworm3:3.2.25-0+deb12u3vulnerable
Debianpython-djangobookworm-security3:3.2.25-0+deb12u6vulnerable
CpedjangoNot reported6.0.8fixed
PyPIdjangoNot reported6.0.8fixed
PyPIdjangoNot reported5.2.17fixed
PyPIdjangoNot reported6.1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesid3:5.2.17-1not yet assignedNot reported[1143611]
Debianpython-djangosourceforky3:5.2.17-1not yet assignedNot reported[1143611]
Debianpython-djangosourcetrixie(unfixed)not yet assignedNot reported[1143611]
Debianpython-djangosourcebookworm(unfixed)not yet assignedNot reported[1143611]
CpedjangocpeNot reported6.0.8Not reportedNVD-CVE-2026-15830Not reported
PyPIdjangoPyPINot reported6.0.8Not reportedPYSEC-2026-3717Not reported
PyPIdjangoPyPINot reported5.2.17Not reportedPYSEC-2026-3717Not reported
PyPIdjangoPyPINot reported6.1.1Not reportedGHSA-Q238-5CXM-5C9HNot reported

[Debian bug #1143611]

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 · bookworm

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected

      nvd · python-django · debian · bookworm; nvd · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Affected

      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 · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Affected

      nvd · python-django · debian · 13

Observed:

References

[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]