CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in twisted twisted. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in twisted 26.4.0, 26.4.0rc2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Htwisted (PyPI): fixed in 26.4.0rc2, 26.4.0Explain CVE-2026-42304 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42304?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42304?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42304 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| twisted:twisted | before 26.4.0 |
| twisted:twisted | 26.4.0:rc1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-grgv-6hw6-v9g4 | PyPI | twisted | <26.4.0rc2 | 26.4.0rc2 |
| PYSEC-2026-160 | PyPI | twisted | <26.4.0 | 26.4.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | twisted | no fix listed | DEBIAN-CVE-2026-42304 |
| Debian | 14 | twisted | 26.4.0-1 | DEBIAN-CVE-2026-42304 |
| Ubuntu | 20.04:LTS, Pro:14.04:LTS, Pro:16.04:LTS and 1 more | twisted | no fix listed | UBUNTU-CVE-2026-42304 |
| Ubuntu | 22.04:LTS | twisted | 22.1.0-2ubuntu2.7 | UBUNTU-CVE-2026-42304 USN-8380-1 |
| Ubuntu | 24.04:LTS | twisted | 24.3.0-1ubuntu0.2 | UBUNTU-CVE-2026-42304 USN-8380-1 |
| Ubuntu | 25.10 | twisted | 24.11.0-1ubuntu0.1 | UBUNTU-CVE-2026-42304 USN-8380-1 |
| Ubuntu | 26.04:LTS | twisted | 25.5.0-5ubuntu0.1 | UBUNTU-CVE-2026-42304 USN-8380-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | python-Twisted | 24.10.0-160000.3.1 | SUSE-SU-2026:22004-1 |
| openSUSE | Tumbleweed | python-Twisted | 26.4.0-1.1 | openSUSE-SU-2026:10759-1 |
| Azure Linux | 3 | python-twisted | 22.10.0-5 | AZL-86751 |
| Alpaquita | 23 | py3-twisted | 22.10.0-r2 | BELL-CVE-2026-42304 |
| Alpaquita | 25 | py3-twisted | 24.11.0-r1 | BELL-CVE-2026-42304 |
| Alpaquita | stream | py3-twisted | 26.4.0-r0 | BELL-CVE-2026-42304 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.
Red Hat rates this Important.
A flaw was found in the twisted.names DNS module of the Python Twisted framework. A remote unauthenticated attacker can send a single crafted TCP DNS packet containing deeply chained compression pointers and thousands of question records to hang the single-threaded Twisted reactor, effectively freezing the server. The visited set that prevents infinite loops has no limit on total pointer dereferences and is reset per question record, allowing resource exhaustion.
Red Hat Ansible Automation Platform components (automation-controller, EDA controller, Lightspeed) bundle python-twisted but use it via Daphne as an ASGI server. These components do not import or execute twisted.names, so the vulnerable DNS decompression code is never reached.
Red Hat Enterprise Linux 6 ships python-twisted but is out of support scope (ELS does not cover python-twisted).
There is no mitigation for this issue. Applications using twisted.names for DNS resolution or as a DNS server should update to a fixed version of Twisted when available.
Upgrade to a patched version (>= 26.4.0rc2).
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/controller-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/eda-controller-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/lightspeed-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Not affected | |
| Red Hat Ansible Automation Platform 2 | python-twisted | Not affected | |
| Red Hat Enterprise Linux 6 | python-twisted | Out of support scope | |
| Red Hat Hardened Images | python-jsonschema | Not affected | |
| Red Hat OpenStack Platform 16.2 | python-twisted | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42304.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.