CVE-2025-27556 Details
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.
A denial-of-service vulnerability has been identified in Django versions 5.1 prior to 5.1.8 and 5.0 prior to 5.0.14. The issue arises from the NFKC normalization process in Python, which is notably slow on Windows. This slowness can be exploited by sending a large number of Unicode characters to certain views, specifically 'LoginView', 'LogoutView', and 'set_language()'. Such inputs can potentially disrupt service by overwhelming the application's ability to process requests.
Users can upgrade to Django versions 5.1.8 or 5.0.14, both of which include the necessary patches. Instructions for downloading these versions are available on the Django website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/04/02/2 | CVE | Mailing ListThird Party Advisory |
| https://docs.djangoproject.com/en/dev/releases/security/ | [email protected] | Vendor Advisory |
| https://groups.google.com/g/django-announce | [email protected] | Vendor Advisory |
| https://www.djangoproject.com/weblog/2025/apr/02/security-releases/ | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| djangoproject django | >= 5.0, < 5.0.14 >= 5.1, < 5.1.8 |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 3, 2025 | Initial Analysis | [email protected] |
| Apr 2, 2025 | CVE Modified | CVE |
| Apr 2, 2025 | New CVE Received | [email protected] |