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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-64458
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:35 UTC · Revision 1
Source evidence
Potential denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows
core-osv · Original sourcePublished 5 Nov 2025, 15:07 UTC
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.
osv:CVE-2025-64458
Complete source record
{
"id": "4475b3322658243af96bba8965b2fe7faa20351462f717bd062aa5149f1c1267",
"url": "https://osv.dev/vulnerability/CVE-2025-64458",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Potential denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows",
"summary": "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.",
"evidence": "osv:CVE-2025-64458",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-64458",
"aliases": [
"BIT-django-2025-64458",
"CVE-2025-64458",
"GHSA-qw25-v68c-qjf3",
"PYSEC-2025-107"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/django/django",
"type": "GIT",
"events": [
{
"introduced": "97aa3b7f08f51669e118f3af5ca91026e39664c3"
},
{
"fixed": "0dfd59e2d5c713510c6bcf245e8ac2d5b2043a0a"
},
{
"introduced": "84d09a547fe35e10018ab242602ca76c29ca91a1"
},
{
"fixed": "da443c4d5472dfc5afe2567b59123da8372715fe"
},
{
"introduced": "9e7cc2b628fe8fd3895986af9b7fc9525034c1b0"
},
{
"fixed": "47fe39af56ecd0ad73b9c7562511015e96b91b80"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2"
},
{
"fixed": "4.2.26"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.1"
},
{
"fixed": "5.1.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.2"
},
{
"fixed": "5.2.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"5.2.7",
"5.2.6",
"5.2.5",
"5.2.4",
"5.2.3",
"5.2.2",
"5.2.1",
"5.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64458.json"
}
}
],
"modified": "2026-10-28T02:30:28.275254983Z",
"provider": "osv",
"references": [
"https://github.com/django/django/",
"https://docs.djangoproject.com/en/dev/releases/security/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64458.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-64458",
"https://www.djangoproject.com/weblog/2025/nov/05/security-releases/",
"https://pypi.org/project/Django/",
"https://groups.google.com/g/django-announce"
],
"provider_metadata": {
"cwe_ids": [
"CWE-407"
],
"cna_assigner": "DSF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64458.json"
}
},
"related_cves": [
{
"value": "CVE-2025-64458",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494996,
"published_at": "2025-11-05T15:07:17.031+00:00"
}