CVE-2026-42304: twisted Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-42304 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in twisted. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 13-05-2026PublishedVulnerability first disclosed.
- 14-05-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
+0.52 pp
From 0.43% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundTwisted
Maturity: poc
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-407Inefficient Algorithmic ComplexityAn algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
Affected systems
Chainguard2 products
- awx< 24.6.1-r49
- synapse< 1.151.0-r4
Suse2 products
- python-Twisted&distro=SUSE Linux Enterprise Server 16.0< 24.10.0-160000.3.1
- python-Twisted&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 24.10.0-160000.3.1
Debian1 product
- twistedAll versions (No fix recorded) | < 26.4.0-1
Opensuse1 product
- python-Twisted&distro=openSUSE Tumbleweed< 26.4.0-1.1
PyPI1 product
- twisted< 26.4.0rc2 | < 26.4.0
Twisted1 product
- twisted< 26.4.0rc2 | < 26.4.0 | 26.4.0:rc1
Ubuntu1 product
- twistedAll versions (No fix recorded) | < 22.1.0-2ubuntu2.7 | < 24.3.0-1ubuntu0.2 | < 24.11.0-1ubuntu0.1 | < 25.5.0-5ubuntu0.1
7 vendors · 9 products
References
13 links- github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4X Refsource CONFIRMWEBEVIDENCEREPORTAdvisoryExploitMitigationVendor Advisory
- github.com/twisted/twistedPACKAGE