Uncontrolled Recursion Affecting django package, versions [5.2, 5.2.17)[6.0a1, 6.0.8)[6.1a1, 6.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncontrolled Recursion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-18532953
  • published5 Aug 2026
  • disclosed4 Aug 2026
  • creditAndrew MacPherson and kimchunbok_

Introduced: 4 Aug 2026

NewCVE-2026-15830  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Django to version 5.2.17, 6.0.8, 6.1 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Uncontrolled Recursion via GEOSGeometry when parsing deeply nested GEOMETRYCOLLECTION objects provided as well-known text (WKT), well-known binary (WKB), or hex-encoded WKB. An attacker can cause unbounded recursion and trigger a segmentation fault in the underlying GEOS library by supplying maliciously crafted input through spatial field lookups or the GeometryField form field.

CVSS Base Scores

version 4.0
version 3.1