CVE-2025–27556 | Django — Potential DoS Vulnerability in
Slow NFKC Unicode normalization on Windows made Django's login, logout and language-setting views vulnerable to denial of service when given very long Unicode input. An attacker could send such input to make the server unresponsive.
Published on medium.com
Hi there. Let’s take a look at this vulnerability reported on April 2nd.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could cause a denial of service, making the server unresponsive; the issue specifically affects Django running on Windows.
What the attacker needed
Django running on Windows; ability to send requests to affected views
The fix
The vulnerability was fixed by adding a check that rejects excessively long URLs before processing.
How it was found
- Identify the affected Django views: LoginView, LogoutView and set_language.
- Send an extremely long sequence of Unicode characters to one of those views.
- The server spends a long time performing NFKC normalization, causing it to become unresponsive.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Unicode is a standard for representing text in many languages. NFKC is a way of tidying up text so that similar-looking characters are treated the same. On Windows, this tidying is slow for very long strings, so sending a huge string of special characters can tie up the server and stop it responding to other users.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.