{"id":"CVE-2026-15830","aliases":["CVE-2026-15830","GHSA-q238-5cxm-5c9h","BIT-DJANGO-2026-15830","PYSEC-2026-3717"],"related":[],"kind":"vulnerability","state":"published","title":"Potential denial-of-service vulnerability via nested geometry collections","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8.\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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se descubrió un problema en Django 6.0 anterior a la versión 6.0.9 y 5.2 anterior a la versión 5.2.18. La clase ’django.contrib.gis.geos.GEOSGeometry’ de GeoDjango es susceptible a una posible denegación de servicio al analizar objetos ’GEOMETRYCOLLECTION’ profundamente anidados, proporcionados como texto conocido (WKT), binario conocido (WKB) o WKB codificado en hexadecimal, lo que desencadena una recursión ilimitada y un fallo de segmentación en la biblioteca GEOS subyacente. Las búsquedas de campos espaciales y el campo de formulario ’django.contrib.gis.forms.GeometryField’ también se ven afectados. Series de Django anteriores y sin soporte (como 5.1.x, 5.0.x y 4.2.x) no fueron evaluadas y también podrían verse afectadas. Django desea agradecer a Andrew MacPherson y kimchunbok_ por informar de este problema.","source":"nvd"}],"published":"2026-08-04T15:48:34.075Z","modified":"2026-10-24T16:10:00.153Z","severity":{"scorer":"DSF","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"DSF","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"DSF","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"python","introduced":"6.0","fixed":"6.0.9","status":"affected"},{"type":"python","version":"6.0.9","status":"unaffected"},{"type":"python","introduced":"5.2","fixed":"5.2.18","status":"affected"},{"type":"python","version":"5.2.18","status":"unaffected"}],"vendor":"djangoproject","product":"Django","package":"django","repo":"https://github.com/django/django/","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.2.17"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0a1","status":"affected","fixed":"6.0.8"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.1a1","status":"affected","fixed":"6.1.1"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.2.17"},{"status":"affected","introduced":"6.0","fixed":"6.0.8"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.2.17"},{"type":"ecosystem","introduced":"6.0","status":"affected","fixed":"6.0.8"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.2.17"},{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.0.8"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["advisory","fix","patch","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://groups.google.com/g/django-announce","tags":["article","discussion","mailing-list","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/django/django/commit/d2e59b77fe18de318a8272c2a7bbc798d84d1d0d","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/django/django/commit/9e4a3f186b6b07b483bfd9195ea06734663fcd06","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/django/django/commit/6af5da31775417c610dbf9c3f1b5b8333d42daf6","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/django/django/commit/ba80833fa656dd09660b97c4429331067db1b080","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2026/aug/04/security-releases/","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://github.com/django/django/commit/62ef9d40cf4ea75f16518436b44b8ab2515340df","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/django/django/commit/75d401a1491e04a907ed745c128836d51c982c0f","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/django/django/commit/4353dfb56f8ba3a6fccc4bdd7f2ef2fbee3aa638","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/django/django/commit/1eafa1a80f1363283f89208ba4499ed54e35f085","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15830","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-q238-5cxm-5c9h","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-3717.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2026/aug/04/security-releases","tags":["web"],"sources":["ghsa"]}],"credits":["Andrew MacPherson and kimchunbok_","Jacob Walls","Natalia Bidart"],"assigner":"DSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-04T17:16:11.996Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-15830","url":"https://www.cve.org/CVERecord?id=CVE-2026-15830","licence":"CVE Terms of Use","modified":"2026-10-08T10:58:22.401Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q238-5cxm-5c9h","url":"https://github.com/advisories/GHSA-q238-5cxm-5c9h","licence":"CC-BY-4.0","modified":"2026-10-12T14:45:06.559Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-15830","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15830","licence":"Public domain","modified":"2026-10-24T16:10:00.153Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3717","url":"https://osv.dev/vulnerability/PYSEC-2026-3717","licence":"CC-BY-4.0","modified":"2026-10-01T17:15:02.507Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2026-15830","url":"https://osv.dev/vulnerability/BIT-DJANGO-2026-15830","licence":"Apache-2.0","modified":"2026-10-09T12:00:06.455Z"}],"updatedAt":"2026-11-25T22:59:30.983Z","epss":{"score":0.0218,"percentile":0.82876,"date":"2026-12-01T12:00:22.000Z"}}