CVE-2026-42304
HIGHTwisted: Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer Chains
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4
Scores
CVSS v3
7.5
EPSS
0.0002
EPSS Percentile
7.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-400
CWE-407
Status
published
Products (4)
pypi/Twisted
0 - 26.4.0rc2PyPI
twisted/twisted
26.4.0 rc1
twisted/twisted
< 26.4.0
twisted/twisted
< 26.4.0rc2
Published
May 13, 2026
Tracked Since
May 14, 2026