CVE-2025-27556
Medium
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.
SeverityMedium
CVSS5.8
Exploit probability—
Product
Django
PublishedApr 2, 2025
First seenApr 2, 2025
Weakness typeCWE-770Allocation of resources without limits
How to fix
Update
- djangoproject django5.0.14, 5.1.8 or later
- django5.0.14, 5.1.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | 5.0 ≤ v < 5.0.14, 5.1 ≤ v < 5.1.8 | 5.0.14, 5.1.8 |
| djangoPyPI | 5.0 ≤ v < 5.0.14, 5.1 ≤ v < 5.1.8 | 5.0.14, 5.1.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.