CVE-2026-42304
Last modified
CVE-2026-42304 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Twisted | Twisted | < 26.4.0 | — |
| Twisted | Twisted | 26.4.0 | Rc1 |
References
- https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4Exploit, Mitigation, Vendor Advisory
- https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42304?
How severe is CVE-2026-42304?
How do I fix CVE-2026-42304?
Are you affected by CVE-2026-42304?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
