CVE-2026-42304
CVE-2026-42304 is a high-severity vulnerability in Twisted with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-400.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 0% (35th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-30158
- Weakness: CWE-400
- Affected product: Twisted
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-42304?
- CVE-2026-42304 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2026-42304 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-42304?
- CVE-2026-42304 primarily affects Twisted. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-42304?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-42304 have an EU (EUVD) identifier?
- Yes. CVE-2026-42304 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-30158.
- When was CVE-2026-42304 published?
- CVE-2026-42304 was published on 2026-05-13 and last updated on 2026-06-17.
References
Affected products (2)
- cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*
- cpe:2.3:a:twisted:twisted:26.4.0:rc1:*:*:*:*:*:*
More vulnerabilities in Twisted
- CVE-2020-10109 — Critical (CVSS 9.8): In Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. When presented with a content-length…
- CVE-2020-10108 — Critical (CVSS 9.8): In Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. When presented with two…
- CVE-2022-24801 — High (CVSS 8.1): Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to version 22.4.0rc1, the…
- CVE-2022-21716 — High (CVSS 7.5): Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 22.2.0, Twisted SSH…
- CVE-2022-21712 — High (CVSS 7.5): twisted is an event-driven networking engine written in Python. In affected versions twisted exposes cookies and…
- CVE-2014-7143 — High (CVSS 7.5): Python Twisted 14.0 trustRoot is not respected in HTTP client
Other CWE-400 (Uncontrolled Resource Consumption) vulnerabilities
- CVE-2026-46775 — Critical (CVSS 9.9): Vulnerability in Oracle REST Data Services (component: Core). Supported versions that are affected are 24.2.0-26.1.0.…
- CVE-2025-61303 — Critical (CVSS 9.8): Hatching Triage Sandbox Windows 10 build 2004 (2025-08-14) and Windows 10 LTSC 2021(2025-08-14) contains a…
- CVE-2025-43193 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7,…
- CVE-2025-24269 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4. An app may be able to…
- CVE-2025-24264 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4,…
- CVE-2025-24260 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5,…
Browse all CWE-400 (Uncontrolled Resource Consumption) vulnerabilities →