{"id":"CVE-2026-15830","published":"2026-08-04T15:48:34Z","modified":"2026-10-08T10:58:22Z","title":"Potential denial-of-service vulnerability via nested geometry collections","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in Django 6.0 before 6.0.9 and 5.2 before 5.2.18.\nGeoDjango'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.\nEarlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.\nDjango would like to thank Andrew MacPherson and kimchunbok_ for reporting this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01113,"percentile":0.65612,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list"]},{"url":"https://github.com/django/django/commit/d2e59b77fe18de318a8272c2a7bbc798d84d1d0d","tags":["patch"]},{"url":"https://github.com/django/django/commit/9e4a3f186b6b07b483bfd9195ea06734663fcd06","tags":["patch"]},{"url":"https://github.com/django/django/commit/6af5da31775417c610dbf9c3f1b5b8333d42daf6","tags":["patch"]},{"url":"https://github.com/django/django/commit/ba80833fa656dd09660b97c4429331067db1b080","tags":["patch"]},{"url":"https://www.djangoproject.com/weblog/2026/aug/04/security-releases/","tags":["vendor-advisory"]},{"url":"https://github.com/django/django/commit/62ef9d40cf4ea75f16518436b44b8ab2515340df","tags":["patch"]},{"url":"https://github.com/django/django/commit/75d401a1491e04a907ed745c128836d51c982c0f","tags":["patch"]},{"url":"https://github.com/django/django/commit/4353dfb56f8ba3a6fccc4bdd7f2ef2fbee3aa638","tags":["patch"]},{"url":"https://github.com/django/django/commit/1eafa1a80f1363283f89208ba4499ed54e35f085","tags":["patch"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":13.12},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.9",">= 5.2, < 5.2.18"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.9","5.2.18"]}],"capec":[{"id":"CAPEC-230","name":"Serialized Data with Nested Payloads"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-04T17:16:11.996083Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django","vulnerableRanges":["<5.2.17",">=6.0a1, <6.0.8",">=6.1a1, <6.1.1",">=6.0, <6.0.8"],"patched":["5.2.17","6.0.8","6.1.1"],"from":["GHSA-q238-5cxm-5c9h","PYSEC-2026-3717"],"provenance":"source"}],"summary":{"text":"A flaw in Django's GeoDjango component, specifically the GEOSGeometry parsing of deeply nested GEOMETRYCOLLECTION objects in WKT, WKB, or hex-encoded WKB input, causes unbounded recursion in the underlying GEOS library, and spatial field lookups and the GeometryField form field are also affected. An attacker who can supply such geometry input over the network without authentication or user interaction can crash the process through a segmentation fault, causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:12Z"},"euvd":{"id":"EUVD-2026-52749","exploited":false,"provenance":"source"}}