python-django — security advisory
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.
- Products
- python-django
- Affected versions
- 3:3.2.19-1, 3:3.2.19-1+deb12u1, 3:3.2.19-1+deb12u1~bpo11+1, 3:3.2.19-1+deb12u2, 3:3.2.20-1, 3:3.2.20-1.1, 3:3.2.21-1, 3:4.2.23-1, 3:4.2.24-1, 3:4.2.25-1, 3:4.2.25-2, 3:4.2.26-1
- Fixed versions
- 3:3.2.25-0+deb12u1, 3:4.2.27-0+deb13u1, 3:4.2.27-1
- CVEs
- CVE-2025-64460
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 22:30 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2025-64460
python-django
Fixed versions: 3:3.2.25-0+deb12u1
python-django
Fixed versions: 3:4.2.27-0+deb13u1
python-django
Fixed versions: 3:4.2.27-1
Complete source record
{
"id": "b42700ce0482e7d72a8fca2d778db5b92d913dd179a4bdebb76d475f33baa7e6",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-64460",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2025-64460",
"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.",
"evidence": "osv:DEBIAN-CVE-2025-64460",
"products": [
{
"name": {
"value": "python-django",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:3.2.25-0+deb12u1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "3:3.2.19-1",
"evidence": "/affected/0/versions"
},
{
"value": "3:3.2.19-1+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "3:3.2.19-1+deb12u1~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "3:3.2.19-1+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "3:3.2.20-1",
"evidence": "/affected/0/versions"
},
{
"value": "3:3.2.20-1.1",
"evidence": "/affected/0/versions"
},
{
"value": "3:3.2.21-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-django",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:4.2.27-0+deb13u1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "3:4.2.23-1",
"evidence": "/affected/1/versions"
},
{
"value": "3:4.2.24-1",
"evidence": "/affected/1/versions"
},
{
"value": "3:4.2.25-1",
"evidence": "/affected/1/versions"
},
{
"value": "3:4.2.25-2",
"evidence": "/affected/1/versions"
},
{
"value": "3:4.2.26-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-django",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3:4.2.27-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "3:4.2.23-1",
"evidence": "/affected/2/versions"
},
{
"value": "3:4.2.24-1",
"evidence": "/affected/2/versions"
},
{
"value": "3:4.2.25-1",
"evidence": "/affected/2/versions"
},
{
"value": "3:4.2.25-2",
"evidence": "/affected/2/versions"
},
{
"value": "3:4.2.26-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2025-64460",
"aliases": [
"DEBIAN-CVE-2025-64460"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:3.2.25-0+deb12u1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3:3.2.19-1",
"3:3.2.19-1+deb12u1",
"3:3.2.19-1+deb12u1~bpo11+1",
"3:3.2.19-1+deb12u2",
"3:3.2.20-1",
"3:3.2.20-1.1",
"3:3.2.21-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-64460.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:4.2.27-0+deb13u1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"3:4.2.23-1",
"3:4.2.24-1",
"3:4.2.25-1",
"3:4.2.25-2",
"3:4.2.26-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-64460.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3:4.2.27-1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"3:4.2.23-1",
"3:4.2.24-1",
"3:4.2.25-1",
"3:4.2.25-2",
"3:4.2.26-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-64460.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:22.663087194Z",
"provider": "osv",
"upstream": [
"CVE-2025-64460"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2025-64460"
]
},
"related_cves": [
{
"value": "CVE-2025-64460",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 416598,
"published_at": "2025-12-02T16:15:56.013+00:00"
}