Skip to main content
VulnerabilityPublished Updated

CVE-2026-42304: Prior to 26.4.0rc2, the twisted.names module is vulnerable to a Denial of Service (DoS) attack via

Affects twistedSource GCVE Database

0
Compare
Authoritative record:CVE-2026-42304· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 22.1.0-2ubuntu2.7 : patch twisted soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 22.1.0-2ubuntu2.7, 24.3.0-1ubuntu0.2, 24.11.0-1ubuntu0.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=resoluteOther threatsAffected
  • <25.5.0-5ubuntu0.1
Fixed in
  • 25.5.0-5ubuntu0.1
Ubuntu 25.10twistedpkg:deb/ubuntu/twisted?arch=source&distro=questingOther threatsAffected
  • <24.11.0-1ubuntu0.1
Fixed in
  • 24.11.0-1ubuntu0.1
Ubuntu 24.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=nobleOther threatsAffected
  • <24.3.0-1ubuntu0.2
Fixed in
  • 24.3.0-1ubuntu0.2
Ubuntu 22.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=jammyOther threatsAffected
  • <22.1.0-2ubuntu2.7
Fixed in
  • 22.1.0-2ubuntu2.7
Ubuntu 20.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=focalOther threatsAffected
  • 18.9.0-3ubuntu1 – 18.9.0-11ubuntu0.20.04.5
12 affected builds
Fixed in–
Ubuntu Pro 18.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 16.6.0-2ubuntu3 – 17.9.0-2ubuntu0.3+esm2
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…