Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Twisted | Twisted | < 26.4.0 |
Related Weaknesses (CWE)
References
- https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4ExploitMitigationVendor Advisory
- https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4ExploitMitigationVendor Advisory
FAQ
What is CVE-2026-42304?
CVE-2026-42304 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 exhau...
How severe is CVE-2026-42304?
CVE-2026-42304 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42304?
Check the references section above for vendor advisories and patch information. Affected products include: Twisted Twisted.