CVE-2025-64460: Denial of Service in Django XML Deserializer
- Vendor
- Djangoproject
CVE-2025-64460 is an algorithmic-complexity vulnerability in Django's XML deserialization functionality. Inefficient text accumulation in django.core.serializers.xml_serializer.getInnerText() allows specially crafted XML processed by the XML Deserializer to consume excessive CPU and memory, potentially causing denial of service. Affected releases are Django 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. Unsupported series, including 5.0.x, 4.1.x, and 3.2.x, were not evaluated and may also be affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can exhaust CPU and memory resources in applications processing attacker-controlled XML through Django's XML Deserializer, degrading performance or causing service outages. The vulnerability affects availability; no confidentiality or integrity compromise is established.
Mitigation
If you can’t patch tonight, do this now.
Until patches are deployed, avoid processing untrusted XML with Django's XML Deserializer. Disable XML deserialization where it is unnecessary, or restrict affected processing interfaces to trusted inputs and callers. These exposure-reduction measures do not correct the underlying algorithmic-complexity flaw. Red Hat identified no mitigation meeting its Product Security criteria.
Remediation
Patch, then assume compromise.
Upgrade Django to 5.2.9 or later in the 5.2 series, 5.1.15 or later in the 5.1 series, or 4.2.27 or later in the 4.2 series. Prefer a currently supported release containing the fix. For vendor-packaged or bundled Django deployments, apply the applicable vendor security update. Red Hat Ansible Automation Platform fixes include RHSA-2026:1497 for version 2.4, RHSA-2026:1506 for version 2.5, and RHSA-2026:1249 for version 2.6. Migrate unsupported upstream Django deployments to a supported, patched release or obtain an explicitly applicable vendor backport.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-64460 exploited in the wild?
- As of Dec 2, 2026, Mallory has no reports of CVE-2025-64460 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-64460?
- As of Dec 2, 2026, Mallory has found no public exploit for CVE-2025-64460.
- Is there a patch for CVE-2025-64460?
- Upgrade Django to 5.2.9 or later in the 5.2 series, 5.1.15 or later in the 5.1 series, or 4.2.27 or later in the 4.2 series. Prefer a currently supported release containing the fix.
- What products are affected by CVE-2025-64460?
- Djangoproject Django.
- How severe is CVE-2025-64460?
- CVE-2025-64460 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 2.2% (83rd percentile) as of Dec 2, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.