Live threats

All CVEs / Twisted

CVE-2026-42304Twisted

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
May 13, 2026
Updated
Nov 11, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-407
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Twisted.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI twisted < 26.4.0rc2 26.4.0rc2 pip install "twisted>=26.4.0rc2"
PyPI twisted < 26.4.0 26.4.0 pip install "twisted>=26.4.0"

Per OSV / GitHub Advisories (GHSA-grgv-6hw6-v9g4, PYSEC-2026-160). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
twistedtwisted< 26.4.0
twistedtwisted26.4.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.