Advisory

GHSA-wqfg-m96j-85vm

Also known as: BIT-django-2025-27556, CVE-2025-27556, PYSEC-2025-14

Summary

Django Potential Denial of Service (DoS) on Windows

Details

An issue was discovered in Django 5.1 before 5.1.8 and 5.0 before 5.0.14. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.views.LoginView, django.contrib.auth.views.LogoutView, and django.views.i18n.set_language are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-02 15:31 UTC
Modified
2025-09-25 09:27 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 5.0, fixed 5.0.14 (ecosystem)

Fixed versions

5.0.14

Fix

  • Fixed version 5.0.14
    pip install --upgrade django==5.0.14

django

PyPI · All systems

Affected

  • introduced 5.1, fixed 5.1.8 (ecosystem)

Fixed versions

5.1.8

Fix

  • Fixed version 5.1.8
    pip install --upgrade django==5.1.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences