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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "5.0"
},
{
"fixed": "5.0.14"
},
{
"introduced": "5.1"
},
{
"fixed": "5.1.8"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"introduced": "5.0"
},
{
"fixed": "5.0.14"
},
{
"introduced": "5.1"
},
{
"fixed": "5.1.8"
}
],
"source": "CPE_FIELD"
},
{
"extracted_events": [
{
"introduced": "5.1"
},
{
"fixed": "5.1.8"
},
{
"introduced": "5.0"
},
{
"fixed": "5.0.14"
}
],
"source": "DESCRIPTION"
}
],
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-770"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27556.json"
}