CVE-2025-26699
Description
An issue was discovered in Django 5.1 before 5.1.7, 5.0 before 5.0.13, and 4.2 before 4.2.20. The django.utils.text.wrap() method and wordwrap template filter are subject to a potential denial-of-service attack when used with very long strings.
Description as published by the source, in English.
Key facts
- Published
- 2025-03-06
- Last modified
- 2026-06-17
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.8 %
higher than 53 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| django (PyPI) | ≥ 4.2, < 4.2.20 | Affected | |
| django (PyPI) | ≥ 5.0, < 5.0.13 | Affected | |
| django (PyPI) | ≥ 5.1, < 5.1.7 | Affected | |
| Debian | Debian Linux | 11.0 | Affected |
| Djangoproject | Django | ≥ 4.2, < 4.2.20 | Affected |
| Djangoproject | Django | ≥ 5.0, < 5.0.13 | Affected |
| Djangoproject | Django | ≥ 5.1, < 5.1.7 | Affected |
Weakness type
-
CWE-770: Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1498.001: Direct Network Flood
- T1498.002: Reflection Amplification
- T1499: Endpoint Denial of Service
- T1499.001: OS Exhaustion Flood
- T1499.002: Service Exhaustion Flood
- T1499.003: Application Exhaustion Flood
References
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2025/mar/06/security-releases/
- http://www.openwall.com/lists/oss-security/2025/03/06/12
- https://lists.debian.org/debian-lts-announce/2025/03/msg00012.html
Related at Berigo
Articles
-
An eighteen-year-old Linux kernel flaw hands ordinary users root
Same product
2026-08-08
Tencent Zhuque Lab has found a flaw in the SCTP part of the Linux kernel that has been there since 2008. An ordinary user can use it to gain root, an…
-
Bad Epoll grants root access in the Linux kernel
Same product
2026-07-03
CVE-2026-46242 is a use-after-free in the Linux kernel's epoll that lets an unprivileged process gain root on servers, desktops and Android devices.
-
Twelve-year-old PackageKit flaw affects widely used Linux distributions
Same product
2026-04-22
Deutsche Telekom's red team has found a CVSS 8.8 privilege escalation flaw in the PackageKit daemon, fixed in version 1.3.5.
-
CrackArmor: nine AppArmor flaws enable root access and container escape
Same product
2026-03-13
Qualys has disclosed nine AppArmor vulnerabilities dating back to 2017, affecting more than 12.6 million enterprise systems.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.