The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-64458

CVE-2025-64458: Django HTTP Redirect DoS Vulnerability

CVE-2025-64458 is a denial-of-service vulnerability in Django HTTP redirect functions caused by slow NFKC normalization on Windows. This article covers technical details, affected versions, impact, and mitigation.

Published: April 1, 2026

CVE-2025-64458 Overview

CVE-2025-64458 is a denial of service vulnerability affecting Django web framework versions 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. The vulnerability stems from inefficient NFKC normalization processing in Python on Windows systems, which can be exploited to cause resource exhaustion through specially crafted inputs containing large numbers of Unicode characters.

The affected components include django.http.HttpResponseRedirect, django.http.HttpResponsePermanentRedirect, and the shortcut django.shortcuts.redirect. When processing redirect URLs with malicious Unicode input, the slow normalization process can lead to application unresponsiveness and service disruption.

Critical Impact

Attackers can cause denial of service conditions on Django applications running on Windows by submitting redirect requests with specially crafted Unicode character sequences, potentially rendering web services unavailable.

Affected Products

  • Django versions 5.1.x before 5.1.14
  • Django versions 4.2.x before 4.2.26
  • Django versions 5.2.x before 5.2.8
  • Potentially affected: Earlier unsupported Django series (5.0.x, 4.1.x, 3.2.x)

Discovery Timeline

  • November 5, 2025 - CVE-2025-64458 published to NVD
  • November 5, 2025 - Django Project releases security patch
  • November 10, 2025 - Last updated in NVD database

Technical Details for CVE-2025-64458

Vulnerability Analysis

This vulnerability is classified as an Algorithmic Complexity Attack (CWE-407), where the computational cost of NFKC (Normalization Form Compatibility Composition) normalization becomes disproportionately expensive when processing certain Unicode character sequences on Windows systems.

The root issue lies in how Python's Unicode normalization handles specific character combinations on the Windows platform. When Django's redirect functions receive URLs containing a very large number of carefully selected Unicode characters, the normalization process consumes excessive CPU cycles, leading to degraded performance or complete service unavailability.

The vulnerability requires no authentication and can be triggered remotely via network requests, making it accessible to unauthenticated attackers. While the vulnerability does not compromise data confidentiality or integrity, it directly impacts service availability.

Root Cause

The vulnerability originates from inefficient algorithmic behavior in Python's NFKC normalization implementation on Windows. Django's HTTP redirect functions perform URL normalization to ensure proper handling of international characters in redirect destinations. The normalization algorithm exhibits polynomial or exponential time complexity when processing specific Unicode input patterns, allowing attackers to craft payloads that maximize computational overhead.

Attack Vector

An attacker can exploit this vulnerability by sending HTTP requests that trigger redirect responses with maliciously crafted Unicode strings. The attack targets the redirect handling mechanisms in Django applications running on Windows servers.

The exploitation flow involves:

  1. The attacker identifies Django endpoints that perform redirects using HttpResponseRedirect, HttpResponsePermanentRedirect, or redirect() shortcuts
  2. A request is crafted containing a URL parameter or path with extensive Unicode character sequences designed to trigger slow normalization
  3. When Django processes the redirect response, the NFKC normalization operation consumes excessive CPU resources
  4. Repeated requests can exhaust server resources, causing denial of service for legitimate users

The vulnerability is particularly impactful because it requires no special privileges or authentication, and can be triggered through standard HTTP requests. For detailed technical information, refer to the Django Security Releases announcement.

Detection Methods for CVE-2025-64458

Indicators of Compromise

  • Unusual spikes in CPU utilization on Django application servers running on Windows
  • Slow response times or timeouts specifically on redirect-related endpoints
  • HTTP requests containing abnormally long URL parameters with Unicode characters
  • Increased memory consumption during request processing
  • Application worker processes becoming unresponsive

Detection Strategies

  • Monitor for HTTP requests with unusually large URL lengths or query parameters exceeding normal thresholds
  • Implement request logging that captures URL byte sizes and processing times for redirect operations
  • Deploy anomaly detection to identify sudden increases in requests to redirect endpoints
  • Configure alerting on application response time degradation correlated with specific request patterns

Monitoring Recommendations

  • Set up CPU and memory monitoring on Django application servers with threshold-based alerts
  • Implement request rate limiting at the load balancer or reverse proxy level
  • Enable Django's request logging to capture full URL details for forensic analysis
  • Monitor application error logs for timeout exceptions in redirect handling code

How to Mitigate CVE-2025-64458

Immediate Actions Required

  • Upgrade Django to patched versions: 5.1.14, 4.2.26, or 5.2.8 depending on your current branch
  • If running unsupported Django versions (5.0.x, 4.1.x, 3.2.x), prioritize migration to a supported release
  • Implement input validation to limit URL length and Unicode character counts in redirect targets
  • Consider deploying a Web Application Firewall (WAF) rule to filter requests with excessive Unicode content

Patch Information

Django has released security patches addressing this vulnerability. Organizations should upgrade to the following fixed versions:

  • Django 5.1.14 for the 5.1.x series
  • Django 4.2.26 for the 4.2.x series
  • Django 5.2.8 for the 5.2.x series

Detailed patch information is available in the Django Security Release Notes and the Django Security Releases announcement.

Workarounds

  • Implement URL length restrictions at the reverse proxy or load balancer level to reject requests with excessively long URLs
  • Add custom middleware to validate and sanitize redirect URLs before processing
  • Deploy rate limiting on endpoints that perform redirects to limit the impact of repeated attack attempts
  • Consider migrating affected applications to Linux-based hosting where NFKC normalization performance is not impacted
bash
# Example: Configure nginx to limit URI length
# Add to nginx.conf server block
large_client_header_buffers 4 8k;

# Limit request URI size to prevent oversized Unicode payloads
if ($request_uri ~* "^.{2048,}$") {
    return 414;
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechDjango

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • 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 Announcements Mailing List
  • Vendor Resources
  • Django Security Release Notes

  • Django Weblog Security Releases
  • Related CVEs
  • CVE-2025-14550: Django ASGIRequest DOS Vulnerability

  • CVE-2026-1285: Djangoproject Django DoS Vulnerability

  • CVE-2023-43665: Django Truncator DoS Vulnerability

  • CVE-2023-41164: Django DoS Vulnerability in URI Encoding
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