ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-42304

Details

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

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTStwisted
All versions, no fix listed
Ubuntu:Pro:16.04:LTStwisted
All versions, no fix listed
Ubuntu:Pro:18.04:LTStwisted
All versions, no fix listed
Ubuntu:20.04:LTStwisted
All versions, no fix listed
Ubuntu:22.04:LTStwisted
All versions before 22.1.0-2ubuntu2.7 (fixed in 22.1.0-2ubuntu2.7)
Ubuntu:24.04:LTStwisted
All versions before 24.3.0-1ubuntu0.2 (fixed in 24.3.0-1ubuntu0.2)
Ubuntu:25.10twisted
All versions before 24.11.0-1ubuntu0.1 (fixed in 24.11.0-1ubuntu0.1)
Ubuntu:26.04:LTStwisted
All versions before 25.5.0-5ubuntu0.1 (fixed in 25.5.0-5ubuntu0.1)

References