CVE-2025-64460Inefficient Algorithmic Complexity in Django

Severity
7.5HIGHNVD
EPSS
0.1%
top 77.64%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 2

Description

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.xml_serializer.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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

CVEListV5djangoproject/django5.25.2.9+2
NVDdjangoproject/django4.24.2.27+2
PyPIdjangoproject/django5.2a15.2.9+2

Patches

🔴Vulnerability Details

5
OSV
Django is vulnerable to DoS via XML serializer text extraction2025-12-02
OSV
CVE-2025-64460: An issue was discovered in 52025-12-02
GHSA
Django is vulnerable to DoS via XML serializer text extraction2025-12-02
CVEList
Potential denial-of-service vulnerability in XML serializer text extraction2025-12-02
OSV
python-django vulnerabilities2025-12-02

📋Vendor Advisories

3
Ubuntu
Django vulnerabilities2025-12-02
Red Hat
Django: Django: Algorithmic complexity in XML Deserializer leads to denial of service2025-12-02
Debian
CVE-2025-64460: python-django - An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4...2025
CVE-2025-64460 — Inefficient Algorithmic Complexity | cvebase