CVEfocus › CVE database › CVE-2026-42304

CVE-2026-42304Twisted: Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer…

CVSS 7.5 HighEPSS 0.9% (higher than 60% of CVEs)Published 2026-05-13Updated 2026-05-14Assigner: GitHub_M

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.

CWE-400CWE-407

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
6Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04twistedFixed25.5.0-5ubuntu0.1UBUNTU-CVE-2026-42304
Ubuntu 25.10twistedFixed24.11.0-1ubuntu0.1UBUNTU-CVE-2026-42304
Ubuntu 24.04twistedFixed24.3.0-1ubuntu0.2UBUNTU-CVE-2026-42304
Ubuntu 22.04twistedFixed22.1.0-2ubuntu2.7UBUNTU-CVE-2026-42304
Ubuntu 20.04twistedFix pendingUBUNTU-CVE-2026-42304
Ubuntu 18.04twistedFix pendingUBUNTU-CVE-2026-42304
Ubuntu 16.04twistedFix pendingUBUNTU-CVE-2026-42304
Ubuntu 14.04twistedFix pendingUBUNTU-CVE-2026-42304
Debian 14twistedFixed26.4.0-1DEBIAN-CVE-2026-42304
Debian 13twistedFix pendingDEBIAN-CVE-2026-42304
Debian 12twistedFix pendingDEBIAN-CVE-2026-42304
Red Hat Enterprise Linux 6python-twistedWill not fix
Out of support scope
PyPI librarytwistedFixed26.4.0rc2PYSEC-2026-160

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.