Vulnerability · Published Apr 2, 2025 · Assigned by mitre

CVE-2025-27556

Medium 5.8

In plain English

A medium-severity resource allocation without limits in Django from djangoproject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.8Medium
Exploit odds (30 days)1.1%top 34.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

An issue was discovered in Django 5.1 before 5.1.8 and 5.0 before 5.0.14. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.views.LoginView, django.contrib.auth.views.LogoutView, and django.views.i18n.set_language are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIdjango5.0.14GHSA-wqfg-m96j-85vm
PyPIdjango5.1.8GHSA-wqfg-m96j-85vm
PyPIdjango5.0.14, 5.1.8PYSEC-2025-14

Affected products (as reported)

VendorProductVersions
djangoproject Django 5.0 – before 5.0.145.1 – before 5.1.8

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

References