Skip to content
OpenAdvisories
Medium · 5.8 CVE-2025-27556 BIT-django-2025-27556EUVD-2025-9536GHSA-wqfg-m96j-85vmPYSEC-2025-14

Django Potential Denial of Service (DoS) on Windows

Published Apr 2, 2025 · Updated Apr 2, 2025 · Assigned by mitre

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 products

VendorProductAffectedFixed
djangoproject Django 5.0 – < 5.0.14, 5.1 – < 5.1.8 5.0.14

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 5.1.8-1.1 openSUSE-SU-2025:14986-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0-1.1 openSUSE-SU-2026:10005-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 5.0, < 5.0.14 5.0.14 GHSA-wqfg-m96j-85vm
PyPI django >= 5.1, < 5.1.8 5.1.8 GHSA-wqfg-m96j-85vm
PyPI django >= 5.1, < 5.1.8 · >= 5.0, < 5.0.14 5.1.8, 5.0.14 PYSEC-2025-14

Advisories 4

References