USN-7903-1: Django vulnerabilities

Publication date

2 December 2025

Overview

Several security issues were fixed in Django.


Packages

Details

It was discovered that Django incorrectly handled certain characters in the
FilteredRelation object. An attacker could possibly use this issue to
execute arbitrary SQL commands. This issue only affected Ubuntu 20.04 LTS,
Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.04, and Ubuntu 25.10.
(CVE-2025-13372)

Seokchan Yoon discovered that Django inefficiently handled deserialization
of XML objects. An attacker could possibly use this issue to cause Django
to use excessive resources, causing a denial of service. (CVE-2025-64460)

It was discovered that Django incorrectly handled certain characters in the
FilteredRelation object. An attacker could possibly use this issue to
execute arbitrary SQL commands. This issue only affected Ubuntu 20.04 LTS,
Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.04, and Ubuntu 25.10.
(CVE-2025-13372)

Seokchan Yoon discovered that Django inefficiently handled deserialization
of XML objects. An attacker could possibly use this issue to cause Django
to use excessive resources, causing a denial of service. (CVE-2025-64460)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
25.10 questing python3-django –  3:5.2.4-1ubuntu2.2
25.04 plucky python3-django –  3:4.2.18-1ubuntu1.7
24.04 LTS noble python3-django –  3:4.2.11-1ubuntu1.13
22.04 LTS jammy python3-django –  2:3.2.12-2ubuntu1.24
20.04 LTS focal python3-django –  2:2.2.12-1ubuntu0.29+esm6  
18.04 LTS bionic python-django –  1:1.11.11-1ubuntu1.21+esm13  
python3-django –  1:1.11.11-1ubuntu1.21+esm13  
16.04 LTS xenial python-django –  1.8.7-1ubuntu5.15+esm10  
python3-django –  1.8.7-1ubuntu5.15+esm10  
14.04 LTS trusty python-django –  1.6.11-0ubuntu1.3+esm9  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›