ADVISORIES

Vulnerability

CVE-2026-42304

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.

21 advisories report this vulnerability, across 11 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2026-42304

    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…

    CVE-2026-42304 Ubuntu Updated 24 November 2026
  • USN-8380-1

    twisted vulnerability

    CVE-2026-42304 Ubuntu Updated 24 November 2026

References