Skip to content
OpenAdvisories
High · 7.5 CVE-2025-64460 BIT-django-2025-64460EUVD-2025-200248GHSA-vrcr-9hj9-jcg6PYSEC-2025-109

Potential denial-of-service vulnerability in XML serializer text extraction

Published Dec 2, 2025 · Updated Dec 2, 2025 · Assigned by DSF

Description

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.

Affected products

VendorProductAffectedFixed
djangoproject Django 5.2 – < 5.2.9, 5.1 – < 5.1.15, 4.2 – < 4.2.27 5.2.9

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 3:4.2.27-1 —
Debian 13 python-django 3:4.2.27-0+deb13u1 DSA-6117-1
Debian 12 python-django 3:3.2.25-0+deb12u1 DSA-6136-1
Debian 11 python-django 2:2.2.28-1~deb11u10 DLA-4425-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS python-django 3:5.2.9-0ubuntu1 —
Ubuntu 25.10 python-django 3:5.2.4-1ubuntu2.2 USN-7903-1
Ubuntu 24.04 LTS python-django 3:4.2.11-1ubuntu1.13 USN-7903-1
Ubuntu 22.04 LTS python-django 2:3.2.12-2ubuntu1.24 USN-7903-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS python-django 2:2.2.12-1ubuntu0.29+esm6 USN-7903-1
Ubuntu Pro 18.04 LTS python-django 1:1.11.11-1ubuntu1.21+esm13 USN-7903-1
Ubuntu Pro 16.04 LTS python-django 1.8.7-1ubuntu5.15+esm10 USN-7903-1
Ubuntu Pro 14.04 LTS python-django 1.6.11-0ubuntu1.3+esm9 USN-7903-1
ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 receptor 1.6.3-1.el8ap RHSA-2026:1506, RHSA-2026:1497, RHSA-2026:1249
Red Hat Ansible Automation Platform Developer 2 python3.11-django 4.2.27-1.el8ap RHSA-2026:1506, RHSA-2026:1249
Red Hat Ansible Automation Platform Developer 2 python3.11-urllib3 2.6.3-1.el8ap RHSA-2026:1506, RHSA-2026:1249
Red Hat Ansible Automation Platform Developer 2 receptor 1.6.3-1.el8ap RHSA-2026:1506, RHSA-2026:1497, RHSA-2026:1249
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.5.30-1.el8ap RHSA-2026:1506, RHSA-2026:1497, RHSA-2026:1249
Red Hat Ansible Automation Platform 2 python3.11-django 4.2.27-1.el8ap RHSA-2026:1506, RHSA-2026:1249
Red Hat Ansible Automation Platform 2 python3.11-protobuf 4.25.8-1.el9ap RHSA-2026:1249
Red Hat Ansible Automation Platform 2 python3.11-urllib3 2.6.3-1.el8ap RHSA-2026:1506, RHSA-2026:1249
Red Hat Ansible Automation Platform 2 receptor 1.6.3-1.el8ap RHSA-2026:1506, RHSA-2026:1497, RHSA-2026:1249
ReleasePackageFixed inAdvisory
SLES 15 SP7 python-Django 4.2.11-150600.3.44.1 SUSE-SU-2025:4384-1
SLES 15 SP6 python-Django 4.2.11-150600.3.44.1 SUSE-SU-2025:4384-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 5.2.9-1.1 openSUSE-SU-2025:15805-1
openSUSE Tumbleweed python-Django4 4.2.27-1.1 openSUSE-SU-2025:15806-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0-1.1 openSUSE-SU-2026:10005-1
openSUSE Leap 16.0 python-Django 5.2.4-bp160.4.1 openSUSE-SU-2025:20153-1
openSUSE Leap 15.6 python-Django 4.2.11-150600.3.44.1 SUSE-SU-2025:4384-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-django 4.2.27-r0 —
Alpine v3.23 py3-django 4.2.27-r0 —
Alpine v3.22 py3-django 4.2.27-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 5.2a1, < 5.2.9 5.2.9 GHSA-vrcr-9hj9-jcg6
PyPI django >= 5.1a1, < 5.1.15 5.1.15 GHSA-vrcr-9hj9-jcg6
PyPI django >= 4.2a1, < 4.2.27 4.2.27 GHSA-vrcr-9hj9-jcg6
PyPI django >= 4.2, < 4.2.27 · >= 5.1, < 5.1.15 · >= 5.2, < 5.2.9 4.2.27, 5.1.15, 5.2.9 PYSEC-2025-109

Advisories 15

References