Improper Handling of Length Parameter Inconsistency Affecting django package, versions [5.2a1,5.2.14)[6.0a1,6.0.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (34th 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 IDSNYK-PYTHON-DJANGO-16425762
  • published6 May 2026
  • disclosed5 May 2026
  • creditKyle Agronick

Introduced: 5 May 2026

CVE-2026-5766  (opens in a new tab)
CWE-130  (opens in a new tab)

How to fix?

Upgrade Django to version 5.2.14, 6.0.5 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 Improper Handling of Length Parameter Inconsistency in the handling of ASGI requests when the Content-Length header is missing or understated. An attacker can cause excessive memory usage and degrade service availability by uploading large files that bypass configured upload limits.

CVSS Base Scores

version 4.0
version 3.1