CVE-2025-26699

django: Potential denial-of-service vulnerability in django.utils.text.wrap()

Published Mar 6, 2025 CVSS 3.1 · 5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4086-1 python-django security update
Debian DSA Debian DSA DSA-6136-1 python-django security update
EUVD EUVD EUVD-2025-6773 Django vulnerable to Allocation of Resources Without Limits or Throttling
Github GHSA Github GHSA GHSA-p3fp-8748-vqfq Django Vulnerable to Allocation of Resources Without Limits or Throttling
Ubuntu USN Ubuntu USN USN-7335-1 Django vulnerability
History
Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
Djangoproject
Djangoproject django
CPEs cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Djangoproject
Djangoproject django
Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_automation_platform:2.4::el8
cpe:/a:redhat:ansible_automation_platform:2.4::el9
Type Values Removed Values Added
First Time appeared Redhat discovery
CPEs cpe:/o:redhat:discovery:1.0::el9
Vendors & Products Redhat discovery
Type Values Removed Values Added
First Time appeared Redhat
Redhat ansible Automation Platform
CPEs cpe:/a:redhat:ansible_automation_platform:2.5::el8
cpe:/a:redhat:ansible_automation_platform:2.5::el9
Vendors & Products Redhat
Redhat ansible Automation Platform
Type Values Removed Values Added
Title django: Potential denial-of-service vulnerability in django.utils.text.wrap()
Weaknesses CWE-400
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 19, 2025, 8:03 PM
Reserved
Feb 14, 2025, 12:00 AM
Status
Analyzed
Published
Mar 6, 2025, 7:15 PM
Modified
Jun 17, 2026, 9:02 AM
Severity
Moderate
Public date
Mar 6, 2025, 2:00 PM