CVE-2025-26699: Denial of Service in Django Text Wrapping
- Vendors
- Debian ProjectDjangoproject
CVE-2025-26699 is an uncontrolled resource consumption vulnerability in Django's django.utils.text.wrap() function and wordwrap template filter. Processing very long strings can consume excessive resources and cause denial of service in applications using these features. Affected versions are Django 4.2 before 4.2.20, 5.0 before 5.0.13, and 5.1 before 5.1.7.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can degrade application responsiveness or disrupt service through excessive resource consumption. The vulnerability affects availability; no direct confidentiality or integrity impact is identified.
Mitigation
If you can’t patch tonight, do this now.
Until patched, enforce input-length limits before passing untrusted strings to django.utils.text.wrap() or the wordwrap template filter, or avoid processing attacker-controlled input with these features. These are application-level precautions; Red Hat states that no mitigation meeting its product security criteria is available.
Remediation
Patch, then assume compromise.
Upgrade Django to 4.2.20, 5.0.13, or 5.1.7 or later within the corresponding release series, or migrate to a supported release containing the fix. For vendor-packaged deployments, apply the relevant vendor security updates, including applicable Red Hat Discovery and Ansible Automation Platform errata.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-26699 exploited in the wild?
- As of Nov 5, 2026, Mallory has no reports of CVE-2025-26699 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-26699?
- As of Nov 5, 2026, Mallory has found no public exploit for CVE-2025-26699.
- Is there a patch for CVE-2025-26699?
- Upgrade Django to 4.2.20, 5.0.13, or 5.1.7 or later within the corresponding release series, or migrate to a supported release containing the fix. For vendor-packaged deployments, apply the relevant vendor security updates, including applicable Red Hat Discovery and Ansible Automation Platform errata.
- What products are affected by CVE-2025-26699?
- Djangoproject Django and Debian Project Debian Linux.
- How severe is CVE-2025-26699?
- CVE-2025-26699 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.83% (59th percentile) as of Nov 5, 2026.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.