Potential denial-of-service vulnerability in XML serializer text extraction
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-407.
Summary
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 for reporting this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| djangoproject | Django | 5.2 to before 5.2.9; 5.1 to before 5.1.15; 4.2 to before 4.2.27 | 5.2.9, 5.1.15, 4.2.27 | Patch available | CNA |
| — | Django (PyPI) | 5.2a1 to before 5.2.9 | 5.2.9 | Patch available | GHSA-vrcr-9hj9-jcg6 |
| — | Django (PyPI) | 5.1a1 to before 5.1.15 | 5.1.15 | Patch available | GHSA-vrcr-9hj9-jcg6 |
| — | Django (PyPI) | 4.2a1 to before 4.2.27 | 4.2.27 | Patch available | GHSA-vrcr-9hj9-jcg6 |
- Django Vendordjangoproject Affected 5.2 to before 5.2.9; 5.1 to before 5.1.15; 4.2 to before 4.2.27 Fixed in 5.2.9, 5.1.15, 4.2.27 Patch available CNA
- Django (PyPI) Vendor— Affected 5.2a1 to before 5.2.9 Fixed in 5.2.9 Patch available GHSA-vrcr-9hj9-jcg6
- Django (PyPI) Vendor— Affected 5.1a1 to before 5.1.15 Fixed in 5.1.15 Patch available GHSA-vrcr-9hj9-jcg6
- Django (PyPI) Vendor— Affected 4.2a1 to before 4.2.27 Fixed in 4.2.27 Patch available GHSA-vrcr-9hj9-jcg6
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 4.2 to before 4.2.27; 5.1 to before 5.1.15; 5.2 to before 5.2.9 | Vulnerable | djangoproject |
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 4.2 to before 4.2.27; 5.1 to before 5.1.15; 5.2 to before 5.2.9 Vulnerable ·djangoproject
Remediation
- Fix · CNA Django (djangoproject) Fixed in 5.2.9, 5.1.15, 4.2.27
- Fix · GHSA-vrcr-9hj9-jcg6 Django (PyPI) Fixed in 5.2.9 Advisory →
- Fix · GHSA-vrcr-9hj9-jcg6 Django (PyPI) Fixed in 5.1.15 Advisory →
- Fix · GHSA-vrcr-9hj9-jcg6 Django (PyPI) Fixed in 4.2.27 Advisory →
Red Hat 6 advisories
- RHSA-2026:1609 Released 2026-01-30 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.5 Container Release Update
- Red Hat Ansible Automation Platform 2.5 registry.redhat.io/ansible-automation-platform-25/controller-rhel8, registry.redhat.io/ansible-automation-platform-25/lightspeed-chatbot-rhel8, registry.redhat.io/ansible-automation-platform-25/lightspeed-rhel8
- RHSA-2026:1599 Released 2026-01-29 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.4 Container Release Update
- Red Hat Ansible Automation Platform 2.4 registry.redhat.io/ansible-automation-platform-24/controller-rhel8, registry.redhat.io/ansible-automation-platform-24/lightspeed-rhel8
- RHSA-2026:1506 Released 2026-01-28 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-controller-venv-tower-4.6.25-1.el8ap, python3.11-django-4.2.27-1.el8ap, python3.11-urllib3-2.6.3-1.el8ap +1
- Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-controller-venv-tower-4.6.25-1.el9ap, python3.11-django-4.2.27-1.el9ap, python3.11-urllib3-2.6.3-1.el9ap +1
Show 3 more Red Hat advisories
- RHSA-2026:1497 Released 2026-01-28 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower-4.5.30-1.el8ap, receptor-1.6.3-1.el8ap
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower-4.5.30-1.el9ap, receptor-1.6.3-1.el9ap
- RHSA-2026:1249 Released 2026-01-26 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.6 for RHEL 10 receptor-1.6.3-2.el10ap
- Red Hat Ansible Automation Platform 2.6 for RHEL 9 automation-controller-venv-tower-4.7.8-1.el9ap, python3.11-django-4.2.27-2.el9ap, python3.11-protobuf-4.25.8-1.el9ap +2
- RHSA-2026:0414 Released 2026-01-08 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
djangoproject Django — Django security releases issued: 5.2.9, 5.1.15, and 4.2.27
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2025-12224 Potential SQL injection in FilteredRelation column aliases on PostgreSQLPriority LOW 22
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2.4 | Fixed | RHSA-2026:1599 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Fixed | RHSA-2026:1497 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Fixed | RHSA-2026:1497 |
| Red Hat Ansible Automation Platform 2.5 | Fixed | RHSA-2026:1609 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | Fixed | RHSA-2026:1506 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | Fixed | RHSA-2026:1506 |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | Fixed | RHSA-2026:1249 |
| Red Hat Discovery 2 | Fixed | RHSA-2026:0414 |
Not affected: 17 products
- OpenShift Service Mesh 2
- OpenShift Service Mesh 3
- Red Hat Ansible Automation Platform 2
- Red Hat Ansible Automation Platform 2.4
- Red Hat Ansible Automation Platform 2.4 for RHEL 8
- Red Hat Ansible Automation Platform 2.4 for RHEL 9
- Red Hat Ansible Automation Platform 2.5
- Red Hat Ansible Automation Platform 2.5 for RHEL 8
- Red Hat Ansible Automation Platform 2.5 for RHEL 9
- Red Hat Ansible Automation Platform 2.6 for RHEL 10
- Red Hat Ansible Automation Platform 2.6 for RHEL 9
- Red Hat Discovery 2
- Red Hat OpenStack Platform 13 (Queens)
- Red Hat OpenStack Platform 16.2
- Red Hat OpenStack Platform 17.1
- Red Hat OpenStack Platform 18.0
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64460
- 2026-10-03 Alias added: GHSA-vrcr-9hj9-jcg6
References
Other 9
- Django releases announcements
- https://github.com/django/django/commit/0db9ea4669312f1f4973e09f4bca06ab9c1ec74b
- https://github.com/django/django/commit/1dbd07a608e495a0c229edaaf84d58d8976313b5
- https://github.com/django/django/commit/4d2b8803bebcdefd2b76e9e8fc528d5fddea93f0
- https://github.com/django/django/commit/99e7d22f55497278d0bcb2e15e72ef532e62a31d
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-109.yaml
- https://www.djangoproject.com/weblog/2025/dec/02/security-releases
More djangoproject Django vulnerabilities
- TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
- TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
- TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
- TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
- TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
- TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-64460 · CVE Program
- CVE-2025-64460 · NVD
- FIRST EPSS
- GHSA-vrcr-9hj9-jcg6 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-64460 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences