Vulnerability advisory
CVE-2025-27556
Also known as BIT-django-2025-27556GHSA-wqfg-m96j-85vmPYSEC-2025-14
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/django/django ↗ | |
| 52821001bb62b764d73e63812133f199b8fef9eb to before 7c128112a6adff20b6d67a02c4098a2c10f88191 | 7c128112a6adff20b6d67a02c4098a2c10f88191 |
| 84d09a547fe35e10018ab242602ca76c29ca91a1 to before 5773bc9cf929f4648da30cb9c472b816bb4db771 | 5773bc9cf929f4648da30cb9c472b816bb4db771 |
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.
References
- Webwww.openwall.com/lists/oss-security/2025/04/02/2 ↗
- Webdocs.djangoproject.com/en/dev/releases/security/ ↗
- Webgroups.google.com/g/django-announce ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27556.json ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-27556 ↗
- ARTICLEwww.djangoproject.com/weblog/2025/apr/02/security-releases/ ↗