{"id":"CVE-2025-27556","published":"2025-04-02T00:00:00Z","modified":"2025-04-02T22:03:22Z","title":"An issue was discovered in Django 5.1 before 5.1.8 and 5.0 before 5.0.14","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01079,"percentile":0.65933,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":[]},{"url":"https://groups.google.com/g/django-announce","tags":[]},{"url":"https://www.djangoproject.com/weblog/2025/apr/02/security-releases/","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/04/02/2","tags":[]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":13.19},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 5.0, < 5.0.14",">= 5.1, < 5.1.8"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-02T13:21:14.015825Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=5.0, <5.0.14",">=5.1, <5.1.8"],"patched":["5.0.14","5.1.8"],"from":["GHSA-wqfg-m96j-85vm","PYSEC-2025-14"],"provenance":"source"}],"summary":{"text":"The flaw is in Django versions 5.1 before 5.1.8 and 5.0 before 5.0.14, where NFKC Unicode normalization runs slowly on Windows and affects the LoginView, LogoutView, and set_language views in django.contrib.auth and django.views.i18n. An attacker with network access and no authentication or user interaction can send specially crafted input containing a very large number of Unicode characters to these views to trigger a denial-of-service condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:27Z"},"euvd":{"id":"EUVD-2025-9536","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-53908","published":"2024-12-06","fixed":"5.1.4","kev":false},{"cve":"CVE-2024-56374","published":"2025-01-14","fixed":"5.1.5","kev":false},{"cve":"CVE-2025-26699","published":"2025-03-06","fixed":"5.1.7","kev":false,"link":{"from":"CVE-2025-26699","to":"CVE-2025-27556","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"5.0.13","toFixed":"5.0.14","daysApart":27}]}},{"cve":"CVE-2025-27556","published":"2025-04-02","fixed":"5.1.8","kev":false},{"cve":"CVE-2025-32873","published":"2025-05-08","fixed":"5.2.1","kev":false,"link":{"from":"CVE-2025-27556","to":"CVE-2025-32873","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"5.1.8","toFixed":"5.1.9","daysApart":36},{"kind":"same-code","provenance":"machine","files":["django/utils/html.py"],"commits":["https://github.com/django/django/commit/2cb311f7b069723027fb5def4044d1816d7d2afd","https://github.com/django/django/commit/39e2297210d9d2938c75fc911d45f0e863dc4821","https://github.com/django/django/commit/9f3419b519799d69f2aba70b9d25abe2e70d03e0"],"basis":"shared file"}]}},{"cve":"CVE-2025-48432","published":"2025-06-05","fixed":"5.2.2","kev":false},{"cve":"CVE-2025-57833","published":"2025-09-03","fixed":"5.2.6","kev":false}],"package":"PyPI:Django"}}