Ubuntu CVE Tracker
UBUNTU-CVE-2025-26699
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python-django | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python-django | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python-django | All versions before 1:1.11.11-1ubuntu1.21+esm10 (fixed in 1:1.11.11-1ubuntu1.21+esm10) |
| Ubuntu:20.04:LTS | python-django | All versions before 2:2.2.12-1ubuntu0.28 (fixed in 2:2.2.12-1ubuntu0.28) |
| Ubuntu:22.04:LTS | python-django | All versions before 2:3.2.12-2ubuntu1.17 (fixed in 2:3.2.12-2ubuntu1.17) |
| Ubuntu:24.04:LTS | python-django | All versions before 3:4.2.11-1ubuntu1.6 (fixed in 3:4.2.11-1ubuntu1.6) |
| Ubuntu:25.10 | python-django | All versions before 3:4.2.18-1ubuntu1 (fixed in 3:4.2.18-1ubuntu1) |