CVE-2026-42304

published 13 May 2026 · updated 16 Nov 2026

Twisted: Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer Chains

8.5HighCVSS 7.5EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 26.4.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
twistedtwisted<26.4.0, =26.4.026.4.0
twisted<26.4.0rc2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42304 severity on Zeptric[![CVE-2026-42304](https://zeptric.io/badge/cve/CVE-2026-42304.svg)](https://zeptric.io/cve/CVE-2026-42304)