← Vulnerability feed

Vulnerability record · CVE-2026-42304 · published 13 May 2026

CVE-2026-42304: Twisted uncontrolled resource consumption vulnerability

Twisted · Twisted

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.

7.5 CVSS 3.1 High EPSS 0.95% · top 40.3% CWE-400 · Uncontrolled resource consumptionCWE-407 · CWE-407
7.5CVSS 3.1 base score
0.95%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-42304 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-10108Twisted http request smuggling vulnerabilityIn Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. When presented with two content-length headers, it ignored the fir…EPSS 4.0%9.8CVE-2020-10109Twisted http request smuggling vulnerabilityIn Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. When presented with a content-length and a chunked encoding header…EPSS 3.3%8.1CVE-2022-24801Twisted http request smuggling vulnerabilityTwisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to version 22.4.0rc1, the Twisted Web HTTP 1.1 server, l…EPSS 2.8%7.5CVE-2022-21716Twisted classic buffer overflow vulnerabilityTwisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 22.2.0, Twisted SSH client and server implement is ab…EPSS 3.5%7.5CVE-2022-21712Twisted information exposure vulnerabilitytwisted is an event-driven networking engine written in Python. In affected versions twisted exposes cookies and authorization headers when following…EPSS 1.4%7.5CVE-2014-7143Twisted improper certificate validation vulnerabilityPython Twisted 14.0 trustRoot is not respected in HTTP clientEPSS 2.6%7.4CVE-2019-12855Twisted improper certificate validation vulnerabilityIn words.protocols.jabber.xmlstream in Twisted through 19.2.1, XMPP support did not verify certificates when used with TLS, allowing an attacker to M…EPSS 1.8%6.1CVE-2024-41810Twisted cross-site scripting vulnerabilityTwisted is an event-based framework for internet applications, supporting Python 3.6+. The `twisted.web.util.redirectTo` function contains an HTML in…EPSS 1.2%

Source: NIST National Vulnerability Database (record CVE-2026-42304), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.