CVE-2025-27556
Django vulnerability analysis and mitigation

Overview

A denial-of-service vulnerability (CVE-2025-27556) was discovered in Django 5.1 before 5.1.8 and 5.0 before 5.0.14, affecting Windows systems. The vulnerability was disclosed on April 2, 2025, and impacts django.contrib.auth.views.LoginView, django.contrib.auth.views.LogoutView, and django.views.i18n.set_language components. The issue was discovered by security researcher sw0rd1ight (Django Security).

Technical details

The vulnerability stems from Python's NFKC normalization being slow on Windows systems. This implementation weakness can be exploited through certain inputs containing a very large number of Unicode characters, potentially leading to a denial-of-service condition. The issue has been assigned a CVSS v3.1 base score of 5.8 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L (NVD Database).

Impact

When exploited, this vulnerability can cause a denial-of-service condition specifically on Windows systems running Django. The affected components (LoginView, LogoutView, and set_language) can become unresponsive when processing specially crafted inputs with large numbers of Unicode characters (OSS Security).

Mitigation and workarounds

The Django team has released patches to address this vulnerability in versions 5.1.8 and 5.0.14. Users are strongly encouraged to upgrade to these versions. The fixes have been applied to Django's main branch, 5.2 (release candidate), 5.1, and 5.0 branches (Django Security).

Additional resources


SourceThis report was generated using AI

Related Django vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-57833HIGH7.1
  • DjangoDjango
  • python-django
NoYesSep 03, 2025
CVE-2025-27556MEDIUM5.8
  • DjangoDjango
  • django
NoYesApr 02, 2025
CVE-2025-32873MEDIUM5.3
  • DjangoDjango
  • python-django
NoYesMay 08, 2025
CVE-2025-26699MEDIUM5
  • DjangoDjango
  • python3-django4.2-doc
NoYesMar 06, 2025
CVE-2025-48432MEDIUM4
  • DjangoDjango
  • django
NoYesJun 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management