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
-
ALAS2023-2026-1734
Amazon Linux 2023 - ALAS2023-2026-1734: Important priority package update for python-twisted
- ALPINE-EDGE-CVE-2026-42304
-
AZL-86751
CVE-2026-42304 affecting package python-twisted for versions less than 22.10.0-5
- CGA-78p2-3xqv-pw94
- CGA-cc4x-q9gp-2r7m
- CGA-ffg4-4r96-643r
- CGA-g6rr-hjf3-v39w
-
DEBIAN-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…
-
GHSA-grgv-6hw6-v9g4
Twisted has a Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer Chains
-
OESA-2026-2367
python-twisted security update
-
OESA-2026-2368
python-twisted security update
-
OESA-2026-2369
python-twisted security update
-
OESA-2026-2370
python-twisted security update
-
OESA-2026-2488
python-twisted security update
-
PYSEC-2026-160
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…
-
RHVEX-CVE-2026-42304
python-twisted: Twisted: Denial of Service via crafted DNS packets in twisted.names
-
SUSE-SU-2026:22004-1
Security update for python-Twisted
-
SUSEVEX-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…
-
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…
-
USN-8380-1
twisted vulnerability
-
openSUSE-SU-2026:10759-1
python-Twisted-doc-26.4.0-1.1 on GA media