Django `wordwrap` DoS Flaw Triggers Resource Exhaustion in Red Hat Products
Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Apr 8, 2025

A denial-of-service vulnerability tracked as CVE-2025-26699 was disclosed in Django's django.utils.text.wrap() function and the wordwrap template filter, where processing extremely long strings can trigger excessive resource consumption and disrupt application availability. The issue is classified as CWE-400 and affects availability rather than confidentiality or integrity.
Red Hat rated the flaw Moderate with a CVSS v3 score of 7.5 and published fixes for multiple downstream products, including Discovery for RHEL 9 and several Red Hat Ansible Automation Platform 2.4 and 2.5 components. Red Hat said no qualifying mitigation was available at the time of disclosure, while Django's security documentation remains the upstream reference point for project security handling and advisories.
Why it matters
Impact assessment
CVE-2025-26699 is an availability-focused denial-of-service flaw in Django that can disrupt web applications and downstream products that expose vulnerable Django functionality to attacker-controlled long-string input. Organizations running Red Hat products that bundle affected Django packages, especially Discovery for RHEL 9 and Red Hat Ansible Automation Platform 2.4/2.5 components, face operational disruption rather than data theft or integrity loss.
The impact is moderate to high for exposed internet-facing services because the published Red Hat CVSS v3.1 score is 7.5 and the vector indicates network-reachable exploitation with low complexity and no privileges or user interaction. The current story does not cite confirmed exploitation in the wild, but the lack of a qualifying mitigation at disclosure increases the need to identify and patch affected deployments.
Affected entities and scope
- Affected technology: Django
- Vulnerable components:
django.utils.text.wrap()and thewordwraptemplate filter - Affected impact domain: availability
- Not impacted per advisory: confidentiality and integrity
- Downstream affected products called out by Red Hat:
- Discovery 1 for RHEL 9
discovery-server-rhel9 - Red Hat Ansible Automation Platform 2.4 for RHEL 8
python3x-django - Red Hat Ansible Automation Platform 2.4 for RHEL 9
python-django - Red Hat Ansible Automation Platform 2.5 for RHEL 8
python3.11-django - Red Hat Ansible Automation Platform 2.5 for RHEL 8
ansible-automation-platform-25/lightspeed-rhel8 - Red Hat Ansible Automation Platform 2.5 for RHEL 8
automation-controller - Red Hat Ansible Automation Platform 2.5 for RHEL 9
python3.11-django - Red Hat Ansible Automation Platform 2.5 for RHEL 9
automation-controller
- Discovery 1 for RHEL 9
- Product status notes:
- Red Hat Ansible Automation Platform 1.2
ansible-toweris listed as not affected - Red Hat Ansible Automation Platform 2
ansible-automation-platform-25/ee-dellemc-openmanage-rhel8is listed as affected
- Red Hat Ansible Automation Platform 1.2
Severity and business effect
- Red Hat severity: Moderate
- Red Hat CVSS v3.1: 7.5
- CVSS vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CWE: CWE-400 Uncontrolled Resource Consumption
- Likely business outcomes:
- Application slowdown or outage
- Resource exhaustion on web/application servers
- Service instability in automation and management platforms
- Potential cascading operational disruption if affected services are central to IT workflows
Exploitation status
- No confirmed in-the-wild exploitation is stated in the provided references.
- No qualifying mitigation was available at disclosure according to Red Hat.


