CVE-2025-26699
MEDIUM5.0EPSS 0.29%Django vulnerable to Allocation of Resources Without Limits or Throttling
Published: 3/6/2025Modified: 4/28/2026
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.
Affected packages (5)
- Bitnami/django>= 4.2.0, < 5.1.7
- Debian/python-djangofrom 0, < 2:2.2.28-1~deb11u6
- Debian/python-djangofrom 0, < 2:2.2.28-1~deb11u6
- PyPI/django>= 4.2, < 4.2.20
- PyPI/django>= 5.1, < 5.1.7, >= 5.0, < 5.0.13, >= 4.2, < 4.2.20
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-26699
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-26699
- ADVISORYhttps://www.djangoproject.com/weblog/2025/mar/06/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttps://docs.djangoproject.com/en/dev/releases/security
- WEBhttps://docs.djangoproject.com/en/dev/releases/security/
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-13.yaml
- WEBhttps://groups.google.com/g/django-announce
- WEBhttps://lists.debian.org/debian-lts-announce/2025/03/msg00012.html
- WEBhttps://www.djangoproject.com/weblog/2025/mar/06/security-releases
- WEBhttp://www.openwall.com/lists/oss-security/2025/03/06/12