CVE-2025-64460Djangoproject Django
High 7.5 No auth needed
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Dec 2, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-407
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 5.2a1 < 5.2.9 |
5.2.9 |
pip install "django>=5.2.9" |
| PyPI | django |
≥ 5.1a1 < 5.1.15 |
5.1.15 |
pip install "django>=5.1.15" |
| PyPI | django |
≥ 4.2a1 < 4.2.27 |
4.2.27 |
pip install "django>=4.2.27" |
| PyPI | django |
≥ 4.2 < 4.2.27 |
4.2.27 |
pip install "django>=4.2.27" |
| PyPI | django |
≥ 5.1 < 5.1.15 |
5.1.15 |
pip install "django>=5.1.15" |
| PyPI | django |
≥ 5.2 < 5.2.9 |
5.2.9 |
pip install "django>=5.2.9" |
Per OSV / GitHub Advisories (GHSA-vrcr-9hj9-jcg6, PYSEC-2025-109). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≥ 4.2 < 4.2.27 |
| djangoproject | django | ≥ 5.1 < 5.1.15 |
| djangoproject | django | ≥ 5.2 < 5.2.9 |
Official advisories
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · Jul 14, 2026 Critical
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update · Red Hat · RHSA-2026:1249 · Apr 10, 2026 High
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update · Red Hat · RHSA-2026:1497 · Feb 7, 2026 High
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update · Red Hat · RHSA-2026:1506 · Feb 7, 2026 High
- python312-Django6-6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10005-1 · Jan 3, 2026 Critical
- Security update for python-Django · SUSE · SUSE-SU-2025:4384-1 · Dec 12, 2025 High
Also: SUSE (+3)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- docs.djangoproject.com Patch Vendor Advisory
- groups.google.com Mailing List Release Notes
- www.djangoproject.com Patch Vendor Advisory