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-27556

CVE-2025-27556: Django NFKC Normalization DOS Vulnerability

CVE-2025-27556 is a denial-of-service vulnerability in Django affecting versions 5.0 and 5.1 on Windows. Attackers can exploit slow NFKC normalization using Unicode inputs. This article covers technical details, impacts, and mitigations.

Updated: January 22, 2026

CVE-2025-27556 Overview

CVE-2025-27556 is a denial-of-service vulnerability discovered in Django web framework affecting versions 5.1 before 5.1.8 and 5.0 before 5.0.14. The vulnerability stems from slow NFKC (Normalization Form Compatibility Composition) normalization processing on Windows systems. Attackers can exploit this flaw by sending specially crafted inputs containing a very large number of Unicode characters to authentication and internationalization views, potentially causing service disruption.

Critical Impact

Unauthenticated remote attackers can cause denial of service on Windows-based Django deployments by targeting LoginView, LogoutView, and set_language views with malicious Unicode payloads.

Affected Products

  • Django 5.1 before 5.1.8
  • Django 5.0 before 5.0.14
  • Microsoft Windows (as the underlying operating system)

Discovery Timeline

  • April 2, 2025 - CVE-2025-27556 published to NVD
  • April 2, 2025 - Django Project releases security patches (versions 5.1.8 and 5.0.14)
  • October 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-27556

Vulnerability Analysis

This vulnerability is classified as CWE-770 (Allocation of Resources Without Limits or Throttling). The issue specifically affects Django applications running on Windows operating systems where NFKC Unicode normalization operations exhibit significantly slower performance compared to other platforms.

The affected views (django.contrib.auth.views.LoginView, django.contrib.auth.views.LogoutView, and django.views.i18n.set_language) process user-supplied input that undergoes Unicode normalization. On Windows, this normalization process can be computationally expensive when handling inputs containing large quantities of Unicode characters, creating an algorithmic complexity attack vector.

Root Cause

The root cause lies in the platform-specific performance characteristics of NFKC normalization on Windows. While NFKC normalization is necessary for proper Unicode handling and security (preventing homograph attacks), the Windows implementation processes certain Unicode character sequences with significantly higher computational overhead. Django's authentication and internationalization views did not implement adequate input length restrictions or rate limiting for these operations, allowing attackers to trigger resource exhaustion.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft HTTP requests to vulnerable endpoints (/login/, /logout/, or the language switching URL) with form data or query parameters containing extremely long strings of Unicode characters. When the Django application processes these requests, the NFKC normalization operation consumes excessive CPU resources, potentially rendering the application unresponsive to legitimate users.

The vulnerability is particularly concerning because the affected endpoints are commonly exposed on public-facing Django applications and typically do not require authentication to access.

Detection Methods for CVE-2025-27556

Indicators of Compromise

  • Unusual CPU spikes on Windows servers running Django applications
  • HTTP requests to /login/, /logout/, or language-switching endpoints with abnormally large payloads
  • Request bodies or query strings containing excessive Unicode characters (especially combining characters or complex scripts)
  • Slow response times or timeouts on authentication-related endpoints

Detection Strategies

  • Monitor for HTTP POST requests to Django authentication views with payload sizes exceeding normal thresholds
  • Implement web application firewall (WAF) rules to detect requests containing unusually long Unicode strings
  • Analyze web server access logs for repeated requests to /login/, /logout/, or /i18n/setlang/ with large content lengths
  • Set up alerting for abnormal CPU utilization patterns on Django application servers

Monitoring Recommendations

  • Configure application performance monitoring (APM) to track response times on authentication endpoints
  • Implement rate limiting on login, logout, and language switching views
  • Monitor request payload sizes and flag anomalies for security review
  • Deploy network-level traffic analysis to identify DoS attack patterns targeting Django endpoints

How to Mitigate CVE-2025-27556

Immediate Actions Required

  • Upgrade Django to version 5.1.8 or later for the 5.1.x branch
  • Upgrade Django to version 5.0.14 or later for the 5.0.x branch
  • Implement request size limits at the web server or reverse proxy level
  • Enable rate limiting on authentication and internationalization endpoints

Patch Information

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

  • Django 5.1.x: Upgrade to version 5.1.8 or later
  • Django 5.0.x: Upgrade to version 5.0.14 or later

For detailed patch information, refer to the Django Weblog Security Releases announcement. Additional security guidance is available in the Django Security Release Notes.

Workarounds

  • Deploy a reverse proxy (nginx, Apache) with request body size limits to reject oversized requests before they reach Django
  • Implement rate limiting middleware to restrict the frequency of requests to affected endpoints
  • Consider temporarily restricting access to language switching functionality if not required
  • For Windows deployments, evaluate migrating to Linux-based hosting where NFKC normalization is less resource-intensive
bash
# Nginx configuration example - limit request body size
# Add to server or location block for Django endpoints
client_max_body_size 1m;

# Rate limiting configuration for login endpoint
limit_req_zone $binary_remote_addr zone=login:10m rate=5r/s;

location /login/ {
    limit_req zone=login burst=10 nodelay;
    proxy_pass http://django_app;
}

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.05%

  • 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-770
  • Technical References
  • Openwall OSS Security Mailing List
  • Vendor Resources
  • Django Security Release Notes

  • Django Announcement Group

  • Django Weblog Security Releases
  • Related CVEs
  • CVE-2026-33034: Django DOS Vulnerability

  • CVE-2026-33033: Django MultiPartParser DOS Vulnerability

  • CVE-2025-14550: Django ASGIRequest DOS Vulnerability

  • CVE-2026-1285: Djangoproject Django 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