medium5.8
CVE-2025-27556
Django Potential Denial of Service (DoS) on Windows
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | Django | >= 5.0, < 5.0.14 | 5.0.14 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Djangoproject | Django | from 5.0 before 5.0.14 from 5.1 before 5.1.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2025/apr/02/security-releases/
- http://www.openwall.com/lists/oss-security/2025/04/02/2
- https://github.com/advisories/GHSA-wqfg-m96j-85vm
- https://nvd.nist.gov/vuln/detail/CVE-2025-27556
- https://docs.djangoproject.com/en/dev/releases/security
- https://www.djangoproject.com/weblog/2025/apr/02/security-releases
- https://github.com/django/django/commit/2cb311f7b069723027fb5def4044d1816d7d2afd
- https://github.com/django/django/commit/39e2297210d9d2938c75fc911d45f0e863dc4821
- https://github.com/django/django/commit/8c6871b097b6c49d2a782c0d80d908bcbe2116f1
- https://github.com/django/django/commit/edc2716d01a6fdd84b173c02031695231bcee1f8
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-14.yaml