CVE-2025-64458 · DSF
Potential denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows
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.
Published 2025-11-05, last changed 2026-06-17. Weakness: CWE-407.
How to fix
Upgrade to a fixed version: django 4.2.26, 5.1.14, 5.2.8 (PyPI) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in django/django by 3790593781, 4f5d904b63, 6e13348436. Functions changed by the fix: __init__. Regression tests: tests/httpwrappers/tests.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2025-11-05 | Published |
| 2025-11-05 | Package advisory GHSA-qw25-v68c-qjf3 |
| 2025-11-05 | Package advisory PYSEC-2025-107 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.13% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-qw25-v68c-qjf3 | django (PyPI) | 5.2.8 |
| GHSA-qw25-v68c-qjf3 | django (PyPI) | 5.1.14 |
| GHSA-qw25-v68c-qjf3 | django (PyPI) | 4.2.26 |
| PYSEC-2025-107 | django (PyPI) | 4.2.26, 5.1.14, 5.2.8 |
Also known as: GHSA-qw25-v68c-qjf3, PYSEC-2025-107
Credited: Natalia Bidart (coordinator), Jacob Walls (remediation developer), Seokchan Yoon (reporter)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-15830 | 2026-08-04 | 6.9 | Potential denial-of-service vulnerability via nested geometry collections |
| CVE-2026-15307 | 2026-08-04 | 8.7 | Server-side file-write and request forgery via spatial lookups |
| CVE-2026-53878 | 2026-07-07 | 5.3 | Header injection possibility since DomainNameValidator accepted newlines in input |
| CVE-2026-53877 | 2026-07-07 | 6.3 | Heap buffer over-read in GDALRaster |
| CVE-2026-48588 | 2026-07-07 | 5.3 | Potential exposure of private data via cached Set-Cookie response |
| CVE-2026-8404 | 2026-06-03 | 5.3 | Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware |
| CVE-2026-7666 | 2026-06-03 | 2.3 | Potential unencrypted email transmission via STARTTLS in the SMTP backend |
| CVE-2026-6873 | 2026-06-03 | 4.3 | Signed cookie salt namespace collision in django.http.HttpRequest.get_signed_cookie |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2025-64458, or call /api/v1/vulnerabilities/CVE-2025-64458. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.