CVE Catalog

CVE-2026-42304

High
Published: Translated: NVD NIST

Summary

The twisted.names module in Twisted, prior to version 26.4.0rc2, is vulnerable to a Denial of Service (DoS) attack via resource exhaustion during DNS name decompression. An attacker can exploit this vulnerability by sending a crafted TCP DNS packet containing deeply chained compression pointers.

Risk Assessment

This vulnerability allows an attacker to hang the server, potentially leading to downtime for internet applications. By exploiting this flaw, an attacker can cause significant disruptions in service availability.

Recommendation

It is recommended to upgrade to version 26.4.0rc2 or later to mitigate this vulnerability. Additionally, monitoring DNS traffic for potential attack attempts is advisable.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS