CVE-2025-64460CWE-407

CVE-2025-64460

High · published December 2, 2025

CVSS v3.1
7.5
EPSS
2%
Percentile
81.4
In the wild
Unconfirmed
What it is

⚡ A cleverly crafted XML input could lead to a denial-of-service attack! This sneaky issue in Django could leave your CPU and memory gasping for air! 💨 Think of it like a restaurant where one overzealous diner keeps ordering complex, never-ending dishes, overwhelming the kitchen and leaving everyone else hungry. It’s a recipe for chaos! If exploited, this vulnerability can lead to CPU and memory exhaustion — a remote attacker could effectively shut down your service, leaving users in the lurch. Imagine your application grinding to a halt, unable to respond to legitimate requests while it chokes on malicious input.

Put simply

Think of it like a restaurant where one overzealous diner keeps ordering complex, never-ending dishes, overwhelming the kitchen and leaving everyone else hungry. It’s a recipe for chaos! The flaw arises from the algorithmic complexity in `django.core.serializers.xml_serializer.getInnerText()`, which allows specially crafted XML input to cause excessive consumption of system resources during deserialization.

What to do

If exploited, this vulnerability can lead to CPU and memory exhaustion — a remote attacker could effectively shut down your service, leaving users in the lurch. Imagine your application grinding to a halt, unable to respond to legitimate requests while it chokes on malicious input. To protect your application, update Django to version 5.2.9, 5.1.15, or 4.2.27 immediately. If you're using earlier unsupported versions like 5.0.x or 4.1.x, consider upgrading to a supported release, as they may also be vulnerable. You've got this! Follow these steps, and you'll have your Django application secure and running smoothly again! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.02085 · 81.4th percentile
Weakness
CWE-407 · Inefficient Algorithmic Complexity
Published
2025-12-02T21:15Z
Affected products (3)
ProductVersionsFixed in
djangoproject/django≥ 4.2, < 4.2.274.2.27
djangoproject/django≥ 5.1, < 5.1.155.1.15
djangoproject/django≥ 5.2, < 5.2.95.2.9
References (3)
EPSS history
Timeline
  • 02 DEC 15:15Z
    Potential denial-of-service vulnerability in XML serializer text extraction
    cvelistv5