Twisted: Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer Chains
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.4.0rc2, the twisted.names module is vulnerable to a Denial of Service (DoS) attack via resource exhaustion during DNS name decompression. A remote, unauthenticated attacker can exploit this by sending a crafted TCP DNS packet containing deeply chained compression pointers. This flaw bypasses previous loop-prevention logic, causing the single-threaded Twisted reactor to hang while processing millions of recursive lookups, effectively freezing the server. This vulnerability is fixed in 26.4.0rc2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| twisted | twisted | before 26.4.0rc2 | 26.4.0rc2 | Patch available | CNA |
| — | Twisted (PyPI) | before 26.4.0rc2 | 26.4.0rc2 | Patch available | GHSA-grgv-6hw6-v9g4 |
- twisted Vendortwisted Affected before 26.4.0rc2 Fixed in 26.4.0rc2 Patch available CNA
- Twisted (PyPI) Vendor— Affected before 26.4.0rc2 Fixed in 26.4.0rc2 Patch available GHSA-grgv-6hw6-v9g4
Remediation
- Fix · CNA twisted (twisted) Fixed in 26.4.0rc2
- Fix · GHSA-grgv-6hw6-v9g4 Twisted (PyPI) Fixed in 26.4.0rc2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
Not affected: 3 products
- Red Hat Ansible Automation Platform 2
- Red Hat Hardened Images
- Red Hat OpenStack Platform 16.2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42304
- 2026-10-03 Alias added: GHSA-grgv-6hw6-v9g4
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More Twisted vulnerabilities
- TI-2022-06090 Buffer Overflow in Twisted CVSS 3.1HIGH 7.5
- TI-2024-27854 HTML injection in HTTP redirect body CVSS 3.1MEDIUM 6.1
- TI-2022-18723 Twisted vulnerable to NameVirtualHost Host header injection CVSS 3.1MEDIUM 5.4
- TI-2020-08165 In Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. CVSS 3.1CRITICAL 9.8
- TI-2020-08166 In Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. CVSS 3.1CRITICAL 9.8
- TI-2022-08614 HTTP Request Smuggling in twisted.web CVSS 3.1HIGH 8.1
Sources
- CVE-2026-42304 · CVE Program
- CVE-2026-42304 · NVD
- FIRST EPSS
- GHSA-grgv-6hw6-v9g4 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-42304 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences