CVE-2026-42304

HIGH CVSS 3.1: 7.5 EPSS 0.95%
Updated Jun 17, 2026
Twisted
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 26.4.0
Fixed In 26.4.0
Type CWE-407, CWE-400 (Uncontrolled Resource Consumption)
Vendor Twisted
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Twisted Twisted
cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*
— 26.4.0
Twisted Twisted
cpe:2.3:a:twisted:twisted:26.4.0:rc1:*:*:*:*:*:*
— —