VDB

CVE-2026-42304

CVE-2026-42304 PUBLISHED CVSS 7.5 HIGH

Reported by github_m · Published May 13, 2026

Twisted is fixed in 26.4.0rc2 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
TwistedPyPI26.4.0rc2
python3-twisted+tlsAmazon Linux22.4.0-129.amzn2023.0.6
py3-twistedAlpine26.4.0-r0
awxChainguard24.6.1-r49
python3-twistedAmazon Linux22.4.0-129.amzn2023.0.6
twistedtwisted26.4.0

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
twistedtwisted< 26.4.0rc2
amazon:2023python3-twisted+tls0
alpinepy3-twisted0
chainguardawx0
amazon:2023python3-twisted0
twistedtwisted0
chainguardsynapse0
PyPITwisted0

Timeline

  • May 5, 2026 CVE Published
  • May 14, 2026 CVE Updated
  • May 15, 2026 Security Advisory (2 in total, the first dated here)
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Aug 4, 2026 Coalition ESS Score
  • Aug 12, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-42304
vulnetix vdb fixes CVE-2026-42304

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42304/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›