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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | django | 5.0.14 | GHSA-wqfg-m96j-85vm |
| PyPI | django | 5.1.8 | GHSA-wqfg-m96j-85vm |
| PyPI | django | 5.0.14, 5.1.8 | PYSEC-2025-14 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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