CVE-2025-27556
JSON

5.8medium

Django Potential Denial of Service (DoS) on Windows

Severity
5.8medium CVSS:3.1 by mitre
Exploit likelihood
1.08% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-wqfg-m96j-85vmBIT-DJANGO-2025-27556PYSEC-2025-14

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.

Affected

Product or packageVersionsReported by
djangoproject Djangofrom 5.0 before 5.0.14, from 5.1 before 5.1.8CVE List, NVD
django (PyPI)from 5.0 before 5.0.14, from 5.1 before 5.1.8GitHub Advisory Database, PyPA Advisory Database
django (Bitnami)from 5.0.0 before 5.0.14, from 5.1.0 before 5.1.8Bitnami Vulnerability Database

All scores

mitre5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
GitHub5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se descubrió un problema en Django 5.1 antes de 5.1.8 y 5.0 antes de 5.0.14. La normalización de NFKC es lenta en Windows. Como consecuencia, django.contrib.auth.views.loginview, django.contrib.auth.views.logoutview, y django.views.i18n.set_language están sujetos a un posible ataque de denegación de servicio a través de ciertas entradas con un número muy grande de caracteres Unicode.

References

https://docs.djangoproject.com/en/dev/releases/security/advisory, vendor-advisory, web
https://groups.google.com/g/django-announceadvisory, vendor-advisory, web
https://www.djangoproject.com/weblog/2025/apr/02/security-releases/advisory, article, vendor-advisory
http://www.openwall.com/lists/oss-security/2025/04/02/2advisory, mailing-list, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2025-27556advisory, web
https://github.com/django/django/commit/2cb311f7b069723027fb5def4044d1816d7d2afdweb
https://github.com/django/django/commit/39e2297210d9d2938c75fc911d45f0e863dc4821web
https://github.com/django/django/commit/8c6871b097b6c49d2a782c0d80d908bcbe2116f1web
https://github.com/django/django/commit/edc2716d01a6fdd84b173c02031695231bcee1f8web
https://docs.djangoproject.com/en/dev/releases/securityweb
https://github.com/django/djangopackage
https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-14.yamlweb

Sources

SourceRecordLicence
CVE ListCVE-2025-27556 changed 2025-04-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-wqfg-m96j-85vm changed 2025-09-25CC-BY-4.0
NVDCVE-2025-27556 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2025-14 changed 2026-06-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-DJANGO-2025-27556 changed 2026-09-08Apache-2.0