CVE-2026-42304 Details
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.
A denial-of-service vulnerability has been identified in the Twisted framework's DNS handling module, specifically in versions through 25.5.0. This issue arises from resource exhaustion during the decompression of DNS names. A remote, unauthenticated attacker can exploit this vulnerability by sending a crafted TCP DNS packet that includes deeply nested compression pointers. This exploitation bypasses existing loop-prevention mechanisms, causing the single-threaded Twisted reactor to become unresponsive while it processes millions of recursive lookups, effectively freezing the server.
Users are advised to update to Twisted version 26.4.0rc2 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| twisted twisted | < 26.4.0 26.4.0 rc1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 11, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 19, 2026 | Initial Analysis | [email protected] |
| May 14, 2026 | CVE Modified | CISA-ADP |
| May 13, 2026 | New CVE Received | [email protected] |