CVE-2025-27556
HIGH 7.5CVSS 3.1Django Potential Denial of Service (DoS) on Windows
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.
- Published
- 2 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- BIT-django-2025-27556GHSA-wqfg-m96j-85vmPYSEC-2025-14
- Sources
- NVDJSONOSV GHSA-wqfg-m96j-85vmJSONOSV PYSEC-2025-14JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.0, < 5.0.14 | 5.0.14 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.1, < 5.1.8 | 5.1.8 |
| OSV | PyPI | django | >= 5.0, < 5.0.14 | 5.0.14 |
| OSV | PyPI | django | >= 5.1, < 5.1.8 | 5.1.8 |
| OSV | PyPI | django | >= 5.1, < 5.1.8; >= 5.0, < 5.0.14 | 5.1.8, 5.0.14 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory, WEB
- https://groups.google.com/g/django-announce · Vendor Advisory, WEB
- https://www.djangoproject.com/weblog/2025/apr/02/security-releases/ · Vendor Advisory, WEB, ARTICLE
- http://www.openwall.com/lists/oss-security/2025/04/02/2 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27556 · ADVISORY
- https://github.com/django/django/commit/2cb311f7b069723027fb5def4044d1816d7d2afd · WEB
- https://github.com/django/django/commit/39e2297210d9d2938c75fc911d45f0e863dc4821 · WEB
- https://github.com/django/django/commit/8c6871b097b6c49d2a782c0d80d908bcbe2116f1 · WEB
- https://github.com/django/django/commit/edc2716d01a6fdd84b173c02031695231bcee1f8 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-14.yaml · WEB
- https://github.com/advisories/GHSA-wqfg-m96j-85vm · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 2 Apr 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Apr 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Apr 2025)