Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4086-1 |
Debian Bugs | 1099682 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-django (PTS) | bullseye | 2:2.2.28-1~deb11u2 | vulnerable |
bullseye (security) | 2:2.2.28-1~deb11u6 | fixed | |
bookworm, bookworm (security) | 3:3.2.19-1+deb12u1 | vulnerable | |
sid, trixie | 3:4.2.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-django | source | bullseye | 2:2.2.28-1~deb11u6 | DLA-4086-1 | ||
python-django | source | (unstable) | 3:4.2.20-1 | 1099682 |
https://www.djangoproject.com/weblog/2025/mar/06/security-releases/
Fixed by: https://github.com/django/django/commit/e88f7376fe68dbf4ebaf11fad1513ce700b45860 (4.2.20)