ubuntu-cve-2026-42304
Vulnerability from osv_ubuntu
Published
2026-05-13 21:16
Modified
2026-06-03 20:05
Summary
Details
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.
Severity
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-twisted",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-bin",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-conch",
"binary_version": "1:13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-core",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-lore",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-mail",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-names",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-news",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-runner",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-web",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
},
{
"binary_name": "python-twisted-words",
"binary_version": "13.2.0-1ubuntu1.2+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted@13.2.0-1ubuntu1.2+esm3?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"13.0.0-1ubuntu1",
"13.2.0-1ubuntu1",
"13.2.0-1ubuntu1.2",
"13.2.0-1ubuntu1.2+esm1",
"13.2.0-1ubuntu1.2+esm2",
"13.2.0-1ubuntu1.2+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-twisted",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-bin",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-conch",
"binary_version": "1:16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-core",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-mail",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-names",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-news",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-runner",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-web",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python-twisted-words",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
},
{
"binary_name": "python3-twisted",
"binary_version": "16.0.0-1ubuntu0.4+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted@16.0.0-1ubuntu0.4+esm2?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"15.2.1-1ubuntu2",
"15.5.0-1",
"15.5.0-2",
"15.5.0-2ubuntu1",
"15.5.0-4",
"16.0.0~pre1-1",
"16.0.0~pre1-1ubuntu1",
"16.0.0~pre1-2ubuntu1",
"16.0.0~pre1-3",
"16.0.0-1",
"16.0.0-1ubuntu0.2",
"16.0.0-1ubuntu0.4",
"16.0.0-1ubuntu0.4+esm1",
"16.0.0-1ubuntu0.4+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-twisted",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-bin",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-conch",
"binary_version": "1:17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-core",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-mail",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-names",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-news",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-runner",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-web",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python-twisted-words",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python3-twisted",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
},
{
"binary_name": "python3-twisted-bin",
"binary_version": "17.9.0-2ubuntu0.3+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted@17.9.0-2ubuntu0.3+esm2?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"16.6.0-2ubuntu3",
"17.9.0-1",
"17.9.0-2",
"17.9.0-2ubuntu0.1",
"17.9.0-2ubuntu0.3",
"17.9.0-2ubuntu0.3+esm1",
"17.9.0-2ubuntu0.3+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "18.9.0-11ubuntu0.20.04.5"
},
{
"binary_name": "python3-twisted-bin",
"binary_version": "18.9.0-11ubuntu0.20.04.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted@18.9.0-11ubuntu0.20.04.5?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"18.9.0-3ubuntu1",
"18.9.0-5",
"18.9.0-6",
"18.9.0-6build1",
"18.9.0-6ubuntu1",
"18.9.0-8",
"18.9.0-11",
"18.9.0-11ubuntu0.20.04.1",
"18.9.0-11ubuntu0.20.04.2",
"18.9.0-11ubuntu0.20.04.3",
"18.9.0-11ubuntu0.20.04.4",
"18.9.0-11ubuntu0.20.04.5"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "22.1.0-2ubuntu2.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted@22.1.0-2ubuntu2.7?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "22.1.0-2ubuntu2.7"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20.3.0-7ubuntu1",
"20.3.0-7ubuntu3",
"22.1.0-2ubuntu2",
"22.1.0-2ubuntu2.1",
"22.1.0-2ubuntu2.3",
"22.1.0-2ubuntu2.4",
"22.1.0-2ubuntu2.5",
"22.1.0-2ubuntu2.6"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "24.3.0-1ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted@24.3.0-1ubuntu0.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "24.3.0-1ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"22.4.0-4",
"22.4.0-4ubuntu1",
"23.10.0-2",
"24.3.0-1",
"24.3.0-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "24.11.0-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted@24.11.0-1ubuntu0.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "24.11.0-1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"24.11.0-1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "25.5.0-5ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted@25.5.0-5ubuntu0.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "25.5.0-5ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"24.11.0-1",
"25.5.0-4",
"25.5.0-5"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-42304",
"modified": "2026-06-03T20:05:11Z",
"published": "2026-05-13T21:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-42304"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-42304"
},
{
"type": "REPORT",
"url": "https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8380-1"
}
],
"related": [
"USN-8380-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-42304"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…