CVE-2026-42304
Twisted is an event-based framework for internet applications, …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4
- github.com/twisted/twisted/commit/e11cd82bdd79b3ebbb0e8635cbb9c76df2b5af09
- github.com/advisories/GHSA-grgv-6hw6-v9g4
- nvd.nist.gov/vuln/detail/CVE-2026-42304
- github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2026-160.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-42304
- cve.org/CVERecord?id=CVE-2026-42304
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.