CVE-2025-64460: Potential denial-of-service vulnerability in XML serializer text extraction

Published Dec 2, 2025
·
Updated

An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. Algorithmic complexity in django.core.serializers.xmlserializer.getInnerText() allows a remote attacker to cause a potential denial-of-service attack triggering CPU and memory exhaustion via specially crafted XML input processed by the XML Deserializer. 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 Software

11 affected componentsFixes available
Django Django<5.2.9, <5.1.15, <4.2.27
pip/django>=4.2a1<4.2.27
4.2.27
pip/django>=5.1a1<5.1.15
5.1.15
pip/django>=5.2a1<5.2.9
5.2.9
djangoproject Django>=4.2<4.2.27
djangoproject Django>=5.1<5.1.15
djangoproject Django>=5.2<5.2.9
alpine/py3-django<4.2.27-r0
4.2.27-r0
alpine/py3-django<4.2.27-r0
4.2.27-r0
alpine/py3-django<4.2.27-r0
4.2.27-r0
debian/python-django
3:3.2.25-0+deb12u33:3.2.25-0+deb12u63:4.2.28-0+deb13u23:4.2.28-0+deb13u13:5.2.19-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/Django to a version that resolves this vulnerability.

    Fixed in 4.2.27
  2. Upgrade

    Upgrade pip/Django to a version that resolves this vulnerability.

    Fixed in 5.1.15
  3. Upgrade

    Upgrade pip/Django to a version that resolves this vulnerability.

    Fixed in 5.2.9
  4. Upgrade

    Upgrade alpine/py3-django to a version that resolves this vulnerability.

    Fixed in 4.2.27-r0
  5. Upgrade

    Upgrade debian/python-django to a version that resolves this vulnerability.

    Fixed in 3:3.2.25-0+deb12u3Fixed in 3:3.2.25-0+deb12u6Fixed in 3:4.2.28-0+deb13u2Fixed in 3:4.2.28-0+deb13u1Fixed in 3:5.2.19-1

Event History

Dec 2, 2025
CVE Published
via MITRE·03:15 PM
Data Sourced
via MITRE·03:15 PM
DescriptionWeakness
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·06:30 PM
Data Sourced
via GitHub·06:30 PM
DescriptionWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-64460?

CVE-2025-64460 is classified as a potential denial-of-service vulnerability due to algorithmic complexity.

2

How do I fix CVE-2025-64460?

To mitigate CVE-2025-64460, upgrade Django to versions 5.2.9, 5.1.15, or 4.2.27 or later.

3

What versions of Django are affected by CVE-2025-64460?

Django versions prior to 5.2.9, 5.1.15, and 4.2.27 are affected by CVE-2025-64460.

4

What type of attack can CVE-2025-64460 facilitate?

CVE-2025-64460 can facilitate a denial-of-service attack due to CPU and memory exhaustion.

5

Is there a workaround for CVE-2025-64460?

There are no documented workarounds for CVE-2025-64460; upgrading to a fixed version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203