Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-64460

CVE-2025-64460: Django XML Deserializer DOS Vulnerability

CVE-2025-64460 is a denial-of-service flaw in Django's XML Deserializer that enables attackers to exhaust CPU and memory via crafted XML. This article covers technical details, affected versions, impact, and mitigation.

Published: April 22, 2026

CVE-2025-64460 Overview

CVE-2025-64460 is a high-severity algorithmic complexity vulnerability discovered in Django's XML serializer component. The vulnerability exists in django.core.serializers.xml_serializer.getInnerText() function and allows remote attackers to cause denial-of-service conditions through CPU and memory exhaustion by submitting specially crafted XML input to the XML Deserializer.

Critical Impact

Remote attackers can trigger severe resource exhaustion (CPU and memory) on servers running affected Django versions by exploiting the algorithmic complexity flaw in XML deserialization, potentially causing complete service disruption.

Affected Products

  • Django versions 5.2 before 5.2.9
  • Django versions 5.1 before 5.1.15
  • Django versions 4.2 before 4.2.27
  • Earlier unsupported Django series (5.0.x, 4.1.x, 3.2.x) may also be affected

Discovery Timeline

  • 2025-12-02 - Vulnerability discovered and reported by Seokchan Yoon
  • 2025-12-02 - Django releases security patches
  • 2025-12-02 - CVE CVE-2025-64460 published to NVD
  • 2025-12-10 - Last updated in NVD database

Technical Details for CVE-2025-64460

Vulnerability Analysis

This vulnerability is classified as CWE-407 (Inefficient Algorithmic Complexity), which occurs when an algorithm's worst-case performance significantly exceeds average performance. The flaw resides in Django's getInnerText() function within the XML serializer module, which processes XML documents during deserialization operations.

When Django's XML Deserializer encounters specially crafted XML input, the getInnerText() function exhibits inefficient algorithmic behavior that can be deliberately triggered by an attacker. This results in exponential or polynomial time complexity that consumes excessive CPU cycles and memory allocations. Since XML deserialization is commonly used for data import functionality, fixtures loading, and API endpoints accepting XML payloads, the attack surface may be significant for affected applications.

Root Cause

The root cause is inefficient algorithmic complexity in the django.core.serializers.xml_serializer.getInnerText() function. The function's implementation fails to handle certain XML structures efficiently, allowing adversaries to craft input that maximizes processing time and memory consumption. This pattern is commonly seen in recursive or nested parsing operations where the algorithm doesn't properly bound its computational resources relative to input size.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying Django applications that accept XML input through the built-in XML Deserializer
  2. Crafting malicious XML payloads designed to trigger worst-case algorithmic behavior in getInnerText()
  3. Submitting these payloads to endpoints that process XML data using Django's serialization framework

The vulnerability is particularly concerning for applications that use Django's XML serialization for fixture loading, data import features, or REST APIs that accept XML content types. A successful attack causes the server to consume excessive CPU and memory resources, leading to degraded performance or complete service unavailability.

Detection Methods for CVE-2025-64460

Indicators of Compromise

  • Abnormal CPU utilization spikes correlated with XML processing operations
  • Increased memory consumption on Django application servers during deserialization tasks
  • Application timeouts or worker process crashes when handling XML input
  • Elevated response times for endpoints known to process XML data

Detection Strategies

  • Monitor Django application performance metrics for anomalous resource consumption during XML operations
  • Implement request rate limiting on endpoints that accept XML input to reduce DoS impact
  • Configure alerting for unusual patterns in XML payload sizes or request frequencies
  • Review application logs for repeated XML deserialization errors or timeout exceptions

Monitoring Recommendations

  • Enable detailed logging for Django's serialization framework to capture XML processing events
  • Set up infrastructure monitoring to alert on CPU and memory threshold breaches
  • Implement application performance monitoring (APM) to track XML deserializer execution times
  • Monitor network traffic for large or unusually structured XML payloads targeting Django endpoints

How to Mitigate CVE-2025-64460

Immediate Actions Required

  • Upgrade Django to patched versions: 5.2.9, 5.1.15, or 4.2.27 immediately
  • Audit application code to identify all endpoints and features using Django's XML Deserializer
  • Implement input size limits and request timeouts for XML processing endpoints
  • Consider temporarily disabling XML deserialization features if not business-critical

Patch Information

Django has released security updates addressing this vulnerability. Organizations should upgrade to the following fixed versions based on their current Django series:

  • Django 5.2 series: Upgrade to version 5.2.9 or later
  • Django 5.1 series: Upgrade to version 5.1.15 or later
  • Django 4.2 series: Upgrade to version 4.2.27 or later

Detailed patch information and release notes are available through the Django Security Release Notes and Django Weblog Security Releases.

Workarounds

  • Implement strict input validation and size limits on all XML input before it reaches the Django deserializer
  • Use web application firewall (WAF) rules to detect and block suspicious XML payloads
  • Configure resource limits (timeouts, memory caps) for processes handling XML deserialization
  • Consider switching to JSON serialization format where XML is not specifically required
  • For applications on unsupported Django versions, evaluate upgrading to a supported LTS release
bash
# Example: Upgrade Django to patched version
pip install --upgrade django==5.2.9
# Or for Django 5.1 series
pip install --upgrade django==5.1.15
# Or for Django 4.2 LTS series
pip install --upgrade django==4.2.27

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechDjangoproject Django

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-407
  • Technical References
  • Django Announce Group
  • Vendor Resources
  • Django Security Release Notes

  • Django Weblog Security Releases
  • Related CVEs
  • CVE-2026-25673: Djangoproject Django DoS Vulnerability

  • CVE-2024-24680: Django intcomma Filter DoS Vulnerability

  • CVE-2024-38875: Django DoS Vulnerability in urlize Functions

  • CVE-2024-56374: Django IPv6 Validation DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English