twisted
Affected
- introduced
0, fixed26.4.0(ecosystem)
Fixed versions
26.4.0
Fix
- Fixed version
26.4.0pip install --upgrade twisted==26.4.0
Advisory
Also known as: CVE-2026-42304, GHSA-grgv-6hw6-v9g4
The record has no summary.
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.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0, fixed 26.4.0 (ecosystem)26.4.0
26.4.0pip install --upgrade twisted==26.4.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0