KeygraphLabs · CVE MCP

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.

CVSS
7.5
high, from the CNA
EPSS
1.91%
percentile 80.5%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-05Published
2025-11-05Package advisory GHSA-qw25-v68c-qjf3
2025-11-05Package advisory PYSEC-2025-107
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.13%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-qw25-v68c-qjf3django (PyPI)5.2.8
GHSA-qw25-v68c-qjf3django (PyPI)5.1.14
GHSA-qw25-v68c-qjf3django (PyPI)4.2.26
PYSEC-2025-107django (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

CVEPublishedCVSSSummary
CVE-2026-158302026-08-046.9Potential denial-of-service vulnerability via nested geometry collections
CVE-2026-153072026-08-048.7Server-side file-write and request forgery via spatial lookups
CVE-2026-538782026-07-075.3Header injection possibility since DomainNameValidator accepted newlines in input
CVE-2026-538772026-07-076.3Heap buffer over-read in GDALRaster
CVE-2026-485882026-07-075.3Potential exposure of private data via cached Set-Cookie response
CVE-2026-84042026-06-035.3Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware
CVE-2026-76662026-06-032.3Potential unencrypted email transmission via STARTTLS in the SMTP backend
CVE-2026-68732026-06-034.3Signed 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.

NVD · CVE.org