CVE-2026-42304
Published:May 13, 2026
Updated:May 16, 2026
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.
Affected Packages
https://github.com/twisted/twisted.git (GITHUB):
Affected version(s) >=twisted-8.0.0 <twisted-26.4.0rc2Fix Suggestion:
Update to version twisted-26.4.0rc2twisted (PYTHON):
Affected version(s) >=1.0.1 <26.4.0rc2Fix Suggestion:
Update to version 26.4.0rc2Twisted (PYTHON):
Affected version(s) >=1.0.1 <26.4.0rc2Fix Suggestion:
Update to version 26.4.0rc2Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.01