Django XML Deserialization Flaw Enables Denial of Service
Vulnerability Disclosure · 4 sources · Updated 3mo ago · First seen Jan 26, 2026

Django issued security releases 5.2.9, 5.1.15, and 4.2.27 to fix CVE-2025-64460, a denial-of-service vulnerability in the framework's XML deserialization logic. The flaw is rooted in django.core.serializers.xml_serializer.getInnerText(), where specially crafted XML can trigger excessive CPU and memory consumption, allowing a remote attacker to exhaust resources and disrupt affected applications. The issue was reported by Seokchan Yoon and affects supported Django branches before those patched versions; unsupported branches including 5.0.x, 4.1.x, and 3.2.x were not evaluated and may also be exposed.
Red Hat classified the bug as Important with a CVSS v3.1 score of 7.5 and said no acceptable mitigation was available at publication, making patching the primary response. The company warned that products using Django's XML Deserializer may be affected, including Red Hat Ansible Automation Platform, Red Hat OpenStack Platform, and OpenShift Service Mesh, and published fixes for multiple Ansible Automation Platform releases through advisories RHSA-2026:1249, RHSA-2026:1497, and RHSA-2026:1506.
Why it matters
Impact assessment
CVE-2025-64460 is a remotely reachable denial-of-service flaw in Django that affects applications using the framework's XML Deserializer. The primary impact is service degradation or outage through CPU and memory exhaustion, with no stated confidentiality or integrity impact; exposure is broader for organizations running supported Django branches before the fixed releases and potentially extends to unsupported branches that were not evaluated.
Known affected populations include teams operating Django-based web applications and Red Hat customers using products that process XML through Django components. No exploitation-in-the-wild was reported in the provided references, but the vulnerability is low-complexity, requires no privileges, and needs no user interaction, which raises operational risk for internet-exposed services.
Affected entities and products
- Django framework deployments using the XML Deserializer
- Django 5.2 before 5.2.9
- Django 5.1 before 5.1.15
- Django 4.2 before 4.2.27
- Unsupported branches not evaluated and possibly exposed: 5.0.x, 4.1.x, 3.2.x
- Red Hat Ansible Automation Platform
- Red Hat OpenStack Platform
- OpenShift Service Mesh
Severity and scope
- Red Hat severity: Important
- CVSS v3.1: 7.5
- Business impact: application slowdown, worker exhaustion, request backlog, and service interruption
- Security impact is availability-focused rather than data theft or tampering
- Scope is potentially widespread wherever XML input is accepted and passed to Django XML deserialization
Incident status
- No confirmed in-the-wild exploitation cited in the references
- No acceptable mitigation was available at publication according to Red Hat, increasing urgency for patching


