{"id":"CVE-2026-15830","revision":"2b030a974e5a4084980ca5ca3ec03b53","records":[{"revision":"2b030a974e5a4084980ca5ca3ec03b53","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-15830","aliases":[],"title":"Potential denial-of-service vulnerability via nested geometry collections","description":"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.","state":0,"publishedAt":"2026-08-04T15:48:34.075+00:00","modifiedAt":"2026-10-08T10:58:22.401+00:00","affected":[{"ecosystem":"https://pypi.org/project/Django/","name":"django","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://pypi.org/project/Django/\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageName\": \"django\",\n                    \"product\": \"Django\",\n                    \"repo\": \"https://github.com/django/django/\",\n                    \"vendor\": \"djangoproject\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"6.0\",\n                            \"lessThan\": \"6.0.9\",\n                            \"versionType\": \"python\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"6.0.9\",\n                            \"versionType\": \"python\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"5.2\",\n                            \"lessThan\": \"5.2.18\",\n                            \"versionType\": \"python\"\n                        },\n                        {\n                            \"status\": \"unaffected\",\n                            \"version\": \"5.2.18\",\n                            \"versionType\": \"python\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"MEDIUM"},{"system":"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,"severity":"MEDIUM"}],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://github.com/django/django/commit/d2e59b77fe18de318a8272c2a7bbc798d84d1d0d","https://github.com/django/django/commit/9e4a3f186b6b07b483bfd9195ea06734663fcd06","https://github.com/django/django/commit/6af5da31775417c610dbf9c3f1b5b8333d42daf6","https://github.com/django/django/commit/ba80833fa656dd09660b97c4429331067db1b080","https://www.djangoproject.com/weblog/2026/aug/04/security-releases/","https://github.com/django/django/commit/62ef9d40cf4ea75f16518436b44b8ab2515340df","https://github.com/django/django/commit/75d401a1491e04a907ed745c128836d51c982c0f","https://github.com/django/django/commit/4353dfb56f8ba3a6fccc4bdd7f2ef2fbee3aa638","https://github.com/django/django/commit/1eafa1a80f1363283f89208ba4499ed54e35f085"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-15830","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-15830","identifiers":["CVE-2026-15830"]},"retained":false,"historicalAffected":[]}],"coverage":[]}