CVE-2025-27556: Django: Potential DoS in LoginView, LogoutView, and set_language() on Windows

Published Apr 2, 2025
·
Updated

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.setlanguage are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.

Affected Software

7 affected componentsFixes available
Django Django<5.1.8
Django Django<5.0.14
pip/Django>=5.1<5.1.8
5.1.8
pip/Django>=5.0<5.0.14
5.0.14
All of the following
Any of the following
djangoproject Django>=5.0<5.0.14
djangoproject Django>=5.1<5.1.8
Microsoft Windows

Event History

Apr 2, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
Affected Software
Advisory Published
via GitHub·03:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27556?

CVE-2025-27556 is considered a moderate severity vulnerability due to its potential for denial-of-service attacks.

2

How do I fix CVE-2025-27556?

To fix CVE-2025-27556, upgrade Django to version 5.1.8 or 5.0.14 or later.

3

Which versions of Django are affected by CVE-2025-27556?

CVE-2025-27556 affects Django versions prior to 5.1.8 and 5.0 prior to 5.0.14.

4

What functionality in Django does CVE-2025-27556 impact?

CVE-2025-27556 impacts the LoginView, LogoutView, and set_language functionalities.

5

Is there a known workaround for CVE-2025-27556?

No specific workaround is provided for CVE-2025-27556; the recommended action is to upgrade to a patched version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203