CVE catalog

CVE-2025-64458

python-django: CVE-2025-64458

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.91% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-djangosid3:5.2.18-1not affected
Debianpython-djangoforky3:5.2.17-2not affected
Debianpython-djangotrixie3:4.2.28-0+deb13u2not affected
Debianpython-djangotrixie-security3:4.2.28-0+deb13u1not affected
Debianpython-djangobookworm3:3.2.25-0+deb12u3not affected
Debianpython-djangobookworm-security3:3.2.25-0+deb12u6not affected
PyPIdjangoNot reported4.2.26fixed
PyPIdjangoNot reported5.1.14fixed
PyPIdjangoNot reported4.2.26fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesidNot affectedunimportantNot reportedNot reported
Debianpython-djangosourceforkyNot affectedunimportantNot reportedNot reported
Debianpython-djangosourcetrixieNot affectedunimportantNot reportedNot reported
Debianpython-djangosourcebookwormNot affectedunimportantNot reportedNot reported
PyPIdjangoPyPINot reported4.2.26Not reportedGHSA-QW25-V68C-QJF3Not reported
PyPIdjangoPyPINot reported5.1.14Not reportedNot reportedNot reported
PyPIdjangoPyPINot reported4.2.26Not reportedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-django]Not affected

    Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Not affected

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Not affected

      dsa · python-django · debian · bookworm

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Not affected

      dsa · python-django · debian · bookworm

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Not affected

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Not affected

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Not affected

      dsa · python-django · debian · bookworm

  • [python-django-doc]Not affected

    Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Not affected

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Not affected

      dsa · python-django · debian · bookworm

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Not affected

      dsa · python-django · debian · bookworm

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Not affected

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Not affected

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Not affected

      dsa · python-django · debian · bookworm

Observed:

References