Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-15830: CWE-674: Uncontrolled Recursion in djangoproject Django

0
Medium
VulnerabilityCVE-2026-15830cvecve-2026-15830cwe-674
Published: 08/04/2026 (08/04/2026, 15:48:34 UTC)
Source: CVE Database V5
Vendor/Project: djangoproject
Product: Django

Description

An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. 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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

django
pkg:pypi/django
Affected versions
>=6.0 <6.0.8>=5.2 <5.2.17

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/04/2026, 16:46:51 UTC

Technical Analysis

CVE-2026-15830 is a medium severity denial-of-service vulnerability in Django's GeoDjango module. It occurs due to uncontrolled recursion when parsing deeply nested GEOMETRYCOLLECTION objects supplied as well-known text (WKT), well-known binary (WKB), or hex-encoded WKB. This triggers a segmentation fault in the underlying GEOS library, affecting spatial field lookups and the django.contrib.gis.forms.GeometryField form field. The issue impacts Django versions 5.2 prior to 5.2.17 and 6.0 prior to 6.0.8. Earlier unsupported versions such as 5.1.x, 5.0.x, and 4.2.x may also be vulnerable but have not been evaluated. No official remediation level or patch links are provided in the data.

Potential Impact

The vulnerability can cause a denial-of-service condition by crashing the application through a segmentation fault in the GEOS library when processing maliciously crafted deeply nested geometry collections. There is no impact on confidentiality or integrity reported, only availability is affected. No known exploits in the wild have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The affected versions are 5.2 before 5.2.17 and 6.0 before 6.0.8. Users should monitor official Django project advisories for patches or updates addressing this issue. Until a fix is applied, avoid processing untrusted deeply nested GEOMETRYCOLLECTION inputs in GeoDjango components.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
DSF
Date Reserved
2026-07-15T15:01:48.803Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a72133ebf8831d5391ad45a

Added to database: 08/04/2026, 16:28:46 UTC

Last enriched: 08/04/2026, 16:46:51 UTC

Last updated: 08/04/2026, 18:47:50 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses