CVE-2025-26699
HIGH 7.5CVSS 3.1Django Vulnerable to Allocation of Resources Without Limits or Throttling
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.
- Published
- 6 Mar 2025
- Last modified
- 4 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- BIT-django-2025-26699GHSA-p3fp-8748-vqfqPYSEC-2025-13
- Sources
- NVDJSONOSV GHSA-p3fp-8748-vqfqJSONOSV PYSEC-2025-13JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2, < 4.2.20 | 4.2.20 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.0, < 5.0.13 | 5.0.13 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.1, < 5.1.7 | 5.1.7 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | PyPI | django | >= 4.2, < 4.2.20 | 4.2.20 |
| OSV | PyPI | django | >= 5.0, < 5.0.13 | 5.0.13 |
| OSV | PyPI | django | >= 5.1, < 5.1.7 | 5.1.7 |
| OSV | PyPI | django | >= 5.1, < 5.1.7; >= 5.0, < 5.0.13; >= 4.2, < 4.2.20 | 5.1.7, 5.0.13, 4.2.20 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Release Notes, Vendor Advisory, WEB
- https://groups.google.com/g/django-announce · Vendor Advisory, WEB
- https://www.djangoproject.com/weblog/2025/mar/06/security-releases/ · Release Notes, Vendor Advisory, WEB, ARTICLE
- http://www.openwall.com/lists/oss-security/2025/03/06/12 · Mailing List, WEB
- https://lists.debian.org/debian-lts-announce/2025/03/msg00012.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-26699 · ADVISORY
- https://github.com/django/django/commit/4f2765232336b8ad0afd8017d9d912ae93470017 · WEB
- https://github.com/django/django/commit/8dbb44d34271637099258391dfc79df33951b841 · WEB
- https://github.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b45860 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-13.yaml · WEB
- https://github.com/advisories/GHSA-p3fp-8748-vqfq · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 6 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Mar 2025)