Vulnerability · Published Nov 5, 2025 · Assigned by DSF

CVE-2025-64458Potential denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows

High 7.5

In plain English

A high-severity security flaw in Django from djangoproject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.9%top 20.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. NFKC normalization in Python is slow on Windows. As a consequence, `django.http.HttpResponseRedirect`, `django.http.HttpResponsePermanentRedirect`, and the shortcut `django.shortcuts.redirect` were subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Seokchan Yoon for reporting this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.22py3-django4.2.26-r0ALPINE-CVE-2025-64458
Alpine:v3.23py3-django4.2.26-r0ALPINE-CVE-2025-64458
Alpine:v3.24py3-django4.2.26-r0ALPINE-CVE-2025-64458
Debian:12python-djangono fix listedDEBIAN-CVE-2025-64458
Debian:13python-djangono fix listedDEBIAN-CVE-2025-64458
Debian:14python-djangono fix listedDEBIAN-CVE-2025-64458
PyPIdjango4.2.26, 5.1.14, 5.2.8PYSEC-2025-107
PyPIdjango4.2.26GHSA-qw25-v68c-qjf3
PyPIdjango5.1.14GHSA-qw25-v68c-qjf3
PyPIdjango5.2.8GHSA-qw25-v68c-qjf3

Affected products (as reported)

VendorProductVersions
djangoproject Django 5.2 – before 5.2.85.1 – before 5.1.144.2 – before 4.2.26

Weakness: CWE-407 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References