CVE
CVE-2025-26699
CVE-2025-26699HIGH 7.5EPSS 58%
CNA 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 versions
- django≥ 5.1, < 5.1.7Fixed in 5.1.7
- django≥ 5.0, < 5.0.13Fixed in 5.0.13
- django≥ 4.2, < 4.2.20Fixed in 4.2.20
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- docs.djangoproject.com/en/dev/releases/security/ · Release Notes, Vendor Advisory
- www.djangoproject.com/weblog/2025/mar/06/security-releases/ · Release Notes, Vendor Advisory
- lists.debian.org/debian-lts-announce/2025/03/msg00012.html · Third Party Advisory
- github.com/advisories/GHSA-p3fp-8748-vqfq · Third Party Advisory
- osv.dev/vulnerability/GHSA-p3fp-8748-vqfq · Third Party Advisory
- github.com/django/django/commit/4f2765232336b8ad0afd8017d9d912ae934700 · Vendor Advisory
- github.com/django/django/commit/8dbb44d34271637099258391dfc79df33951b8 · Vendor Advisory
- github.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b458 · Vendor Advisory
- docs.djangoproject.com/en/dev/releases/security · Vendor Advisory
- www.djangoproject.com/weblog/2025/mar/06/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2025-13 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.