# CVE-2026-15830: Potential denial-of-service vulnerability via nested geometry collections

- Severity: Medium 6.9 (CVSS:4.0, scored by DSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.18%, higher than 82% of CVEs (2026-12-01)
- Published: 2026-08-04T15:48:34.075Z
- Modified: 2026-10-24T16:10:00.153Z
- Also known as: GHSA-q238-5cxm-5c9h, BIT-DJANGO-2026-15830, PYSEC-2026-3717
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: DSF

## 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.

(As written by CVE List.)

## Affected

- django: from 6.0 before 6.0.9; from 5.2 before 5.2.18 (not affected: 6.0.9; 5.2.18)
- django (PyPI): before 5.2.17; from 6.0a1 before 6.0.8; from 6.1a1 before 6.1.1; from 6.0 before 6.0.8
- djangoproject django: before 5.2.17; from 6.0 before 6.0.8
- django (Bitnami): before 5.2.17; from 6.0.0 before 6.0.8

## Every score

- DSF: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- DSF: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS:4.0 `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, fix, patch, vendor-advisory)
- <https://groups.google.com/g/django-announce> (article, discussion, mailing-list, web)
- <https://github.com/django/django/commit/d2e59b77fe18de318a8272c2a7bbc798d84d1d0d> (fix, patch, web)
- <https://github.com/django/django/commit/9e4a3f186b6b07b483bfd9195ea06734663fcd06> (fix, patch, web)
- <https://github.com/django/django/commit/6af5da31775417c610dbf9c3f1b5b8333d42daf6> (fix, patch, web)
- <https://github.com/django/django/commit/ba80833fa656dd09660b97c4429331067db1b080> (fix, patch, web)
- <https://www.djangoproject.com/weblog/2026/aug/04/security-releases/> (advisory, vendor-advisory)
- <https://github.com/django/django/commit/62ef9d40cf4ea75f16518436b44b8ab2515340df> (patch, web)
- <https://github.com/django/django/commit/75d401a1491e04a907ed745c128836d51c982c0f> (patch, web)
- <https://github.com/django/django/commit/4353dfb56f8ba3a6fccc4bdd7f2ef2fbee3aa638> (patch, web)
- <https://github.com/django/django/commit/1eafa1a80f1363283f89208ba4499ed54e35f085> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-15830> (advisory, web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/advisories/GHSA-q238-5cxm-5c9h> (advisory)
- <https://github.com/django/django> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-3717.yaml> (web)
- <https://www.djangoproject.com/weblog/2026/aug/04/security-releases> (web)

## Sources

- CVE List: [CVE-2026-15830](https://www.cve.org/CVERecord?id=CVE-2026-15830), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-q238-5cxm-5c9h](https://github.com/advisories/GHSA-q238-5cxm-5c9h), CC-BY-4.0, modified 2026-10-12
- NVD: [CVE-2026-15830](https://nvd.nist.gov/vuln/detail/CVE-2026-15830), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3717](https://osv.dev/vulnerability/PYSEC-2026-3717), CC-BY-4.0, modified 2026-10-01
- Bitnami Vulnerability Database: [BIT-DJANGO-2026-15830](https://osv.dev/vulnerability/BIT-DJANGO-2026-15830), Apache-2.0, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-15830 · Whole record: https://cve.day/CVE-2026-15830.json · Rebuilt by cve.day 2026-11-25T22:59:30.983Z
