CVE
CVE-2025-27556
CVE-2025-27556HIGH 7.5EPSS 66%
CNA 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 versions
- django≥ 5.1, < 5.1.8Fixed in 5.1.8
- django≥ 5.0, < 5.0.14Fixed in 5.0.14
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory
- www.djangoproject.com/weblog/2025/apr/02/security-releases/ · Vendor Advisory
- github.com/advisories/GHSA-wqfg-m96j-85vm · Third Party Advisory
- osv.dev/vulnerability/GHSA-wqfg-m96j-85vm · Third Party Advisory
- github.com/django/django/commit/2cb311f7b069723027fb5def4044d1816d7d2a · Vendor Advisory
- github.com/django/django/commit/39e2297210d9d2938c75fc911d45f0e863dc48 · Vendor Advisory
- github.com/django/django/commit/8c6871b097b6c49d2a782c0d80d908bcbe2116 · Vendor Advisory
- github.com/django/django/commit/edc2716d01a6fdd84b173c02031695231bcee1 · Vendor Advisory
- docs.djangoproject.com/en/dev/releases/security · Vendor Advisory
- www.djangoproject.com/weblog/2025/apr/02/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2025-14 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.