CVE-2025-14550: CWE-407: Inefficient Algorithmic Complexity in djangoproject Django
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `ASGIRequest` allows a remote attacker to cause a potential denial-of-service via a crafted request with multiple duplicate headers. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Jiyong Yang for reporting this issue.
AI Analysis
Technical Summary
CVE-2025-14550 is a vulnerability classified under CWE-407 (Inefficient Algorithmic Complexity) affecting the Django web framework's ASGIRequest handling in versions 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. The issue arises when the ASGIRequest component processes HTTP requests containing multiple duplicate headers, which causes the underlying algorithm to consume excessive CPU resources due to inefficient handling of these headers. This can be exploited remotely by an unauthenticated attacker who crafts requests with numerous duplicate headers, triggering a denial-of-service (DoS) by overwhelming the server's processing capabilities. The vulnerability impacts the availability of Django-based applications but does not compromise confidentiality or integrity. Earlier unsupported versions such as 5.0.x, 4.1.x, and 3.2.x were not evaluated but may also be vulnerable. The CVSS v3.1 score is 7.5, reflecting high severity with network attack vector, low attack complexity, no privileges or user interaction required, and an impact limited to availability. No public exploits have been reported yet. The Django project has acknowledged the issue and released patched versions to address it.
Potential Impact
The primary impact of CVE-2025-14550 is a denial-of-service condition that can disrupt the availability of web applications built on affected Django versions. Organizations relying on these versions may experience service outages or degraded performance if targeted by attackers exploiting this vulnerability. This can lead to business interruptions, loss of user trust, and potential financial losses, especially for high-traffic or critical web services. Since the attack requires no authentication and can be performed remotely, it increases the risk of widespread exploitation. Additionally, the vulnerability could be leveraged as part of a larger attack chain to distract or exhaust resources while other attacks are conducted. The lack of impact on confidentiality and integrity limits data breach risks, but availability disruptions alone can have significant operational consequences.
Mitigation Recommendations
Organizations should immediately upgrade Django to the fixed versions: 6.0.2 or later, 5.2.11 or later, and 4.2.28 or later. If upgrading is not immediately feasible, implement network-level protections such as rate limiting and filtering to detect and block requests with excessive duplicate headers. Web application firewalls (WAFs) can be configured to identify abnormal header patterns and mitigate attack attempts. Monitoring server performance and request logs for unusual spikes in CPU usage or repeated header anomalies can provide early warning signs. Developers should review custom middleware or request handling code to ensure efficient processing of headers and consider adding safeguards against header duplication. Finally, maintain an incident response plan to quickly address potential DoS incidents stemming from this vulnerability.
Affected Countries
United States, Germany, United Kingdom, France, Japan, Australia, Canada, Netherlands, India, Brazil
CVE-2025-14550: CWE-407: Inefficient Algorithmic Complexity in djangoproject Django
Description
An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `ASGIRequest` allows a remote attacker to cause a potential denial-of-service via a crafted request with multiple duplicate headers. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Jiyong Yang for reporting this issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-14550 is a vulnerability classified under CWE-407 (Inefficient Algorithmic Complexity) affecting the Django web framework's ASGIRequest handling in versions 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. The issue arises when the ASGIRequest component processes HTTP requests containing multiple duplicate headers, which causes the underlying algorithm to consume excessive CPU resources due to inefficient handling of these headers. This can be exploited remotely by an unauthenticated attacker who crafts requests with numerous duplicate headers, triggering a denial-of-service (DoS) by overwhelming the server's processing capabilities. The vulnerability impacts the availability of Django-based applications but does not compromise confidentiality or integrity. Earlier unsupported versions such as 5.0.x, 4.1.x, and 3.2.x were not evaluated but may also be vulnerable. The CVSS v3.1 score is 7.5, reflecting high severity with network attack vector, low attack complexity, no privileges or user interaction required, and an impact limited to availability. No public exploits have been reported yet. The Django project has acknowledged the issue and released patched versions to address it.
Potential Impact
The primary impact of CVE-2025-14550 is a denial-of-service condition that can disrupt the availability of web applications built on affected Django versions. Organizations relying on these versions may experience service outages or degraded performance if targeted by attackers exploiting this vulnerability. This can lead to business interruptions, loss of user trust, and potential financial losses, especially for high-traffic or critical web services. Since the attack requires no authentication and can be performed remotely, it increases the risk of widespread exploitation. Additionally, the vulnerability could be leveraged as part of a larger attack chain to distract or exhaust resources while other attacks are conducted. The lack of impact on confidentiality and integrity limits data breach risks, but availability disruptions alone can have significant operational consequences.
Mitigation Recommendations
Organizations should immediately upgrade Django to the fixed versions: 6.0.2 or later, 5.2.11 or later, and 4.2.28 or later. If upgrading is not immediately feasible, implement network-level protections such as rate limiting and filtering to detect and block requests with excessive duplicate headers. Web application firewalls (WAFs) can be configured to identify abnormal header patterns and mitigate attack attempts. Monitoring server performance and request logs for unusual spikes in CPU usage or repeated header anomalies can provide early warning signs. Developers should review custom middleware or request handling code to ensure efficient processing of headers and consider adding safeguards against header duplication. Finally, maintain an incident response plan to quickly address potential DoS incidents stemming from this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- DSF
- Date Reserved
- 2025-12-11T20:08:21.400Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 69820d79f9fa50a62fcd6037
Added to database: 2/3/2026, 3:00:09 PM
Last enriched: 2/27/2026, 11:25:46 AM
Last updated: 3/24/2026, 10:29:42 AM
Views: 43
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.