{"id":"CVE-2026-42304","published":"2026-05-13T20:20:29Z","modified":"2026-05-14T15:45:34Z","title":"Twisted: Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer Chains","vendor":"twisted","product":"twisted","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0095,"percentile":0.59764,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":11.95},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"twisted","affectedVersions":[{"vendor":"twisted","product":"twisted","versions":["< 26.4.0rc2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-14T15:44:57.486318Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Twisted","vulnerableRanges":["<26.4.0rc2","<26.4.0"],"patched":["26.4.0rc2","26.4.0"],"from":["GHSA-grgv-6hw6-v9g4","PYSEC-2026-160"],"provenance":"source"}],"summary":{"text":"Twisted's twisted.names module, the DNS handling component of the Twisted event-based networking framework for Python, contains a flaw in DNS name decompression that allows resource exhaustion. A remote, unauthenticated attacker can trigger it by sending a crafted TCP DNS packet with deeply chained compression pointers, which bypasses the existing loop-prevention logic and causes the single-threaded reactor to hang and effectively freeze the server, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:30Z"},"euvd":{"id":"EUVD-2026-30158","exploited":false,"provenance":"source"}}