twisted — security advisory
Twisted is an event-based framework for internet applications, supporting Python 3.6+. In 25.5.0 and earlier, wildcardToRegexp() in twisted/mail/imap4.py translates the IMAP asterisk and percent wildcards but passes all other characters from an authenticated client's LIST or LSUB pattern directly to re.compile(), allowing nested or otherwise expensive regular expression constructs to cause catastrophic backtracking when matched against mailbox names. Because Twisted uses a cooperative single-threaded reactor, the blocking match suspends all server input and output for the duration of the match. No fixed release is available as of this review.
- Products
- twisted
- Affected 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, 15.2.1-1ubuntu2, 15.5.0-1, 15.5.0-2, 15.5.0-2ubuntu1, 15.5.0-4, 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, 16.0.0~pre1-1, 16.0.0~pre1-1ubuntu1, 16.0.0~pre1-2ubuntu1, 16.0.0~pre1-3, 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, 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, 18.9.0-3ubuntu1, 18.9.0-5, 18.9.0-6, 18.9.0-6build1, 18.9.0-6ubuntu1, 18.9.0-8, 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, 22.1.0-2ubuntu2.7, 22.4.0-4, 22.4.0-4ubuntu1, 23.10.0-2, 24.11.0-1, 24.3.0-1, 24.3.0-1ubuntu0.1, 24.3.0-1ubuntu0.2, 25.5.0-4, 25.5.0-5, 25.5.0-5ubuntu0.1, 26.4.0-4
- Fixed versions
- Not specified
- CVEs
- CVE-2026-106454
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:58 UTC · Revision 1
Source evidence
Twisted is an event-based framework for internet applications, supporting Python 3.6+. In 25.5.0 and earlier, wildcardToRegexp() in twisted/mail/imap4.py translates the IMAP asterisk and percent wildcards but passes all other characters from an authenticated client's LIST or LSUB pattern directly to re.compile(), allowing nested or otherwise expensive regular expression constructs to cause catastrophic backtracking when matched against mailbox names. Because Twisted uses a cooperative single-threaded reactor, the blocking match suspends all server input and output for the duration of the match. No fixed release is available as of this review.
osv:UBUNTU-CVE-2026-106454
twisted
Fixed versions: Not specified
twisted
Fixed versions: Not specified
twisted
Fixed versions: Not specified
twisted
Fixed versions: Not specified
twisted
Fixed versions: Not specified
twisted
Fixed versions: Not specified
twisted
Fixed versions: Not specified
twisted
Fixed versions: Not specified
Complete source record
{
"id": "fd4d4df851ed2f3b185ecad108a1ce46f6e76937f11be1d42cf7dab542155470",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-106454",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-106454",
"summary": "Twisted is an event-based framework for internet applications, supporting Python 3.6+. In 25.5.0 and earlier, wildcardToRegexp() in twisted/mail/imap4.py translates the IMAP asterisk and percent wildcards but passes all other characters from an authenticated client's LIST or LSUB pattern directly to re.compile(), allowing nested or otherwise expensive regular expression constructs to cause catastrophic backtracking when matched against mailbox names. Because Twisted uses a cooperative single-threaded reactor, the blocking match suspends all server input and output for the duration of the match. No fixed release is available as of this review.",
"evidence": "osv:UBUNTU-CVE-2026-106454",
"products": [
{
"name": {
"value": "twisted",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "13.0.0-1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "13.2.0-1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "13.2.0-1ubuntu1.2",
"evidence": "/affected/0/versions"
},
{
"value": "13.2.0-1ubuntu1.2+esm1",
"evidence": "/affected/0/versions"
},
{
"value": "13.2.0-1ubuntu1.2+esm2",
"evidence": "/affected/0/versions"
},
{
"value": "13.2.0-1ubuntu1.2+esm3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "twisted",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "15.2.1-1ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "15.5.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "15.5.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "15.5.0-2ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "15.5.0-4",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0~pre1-1",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0~pre1-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0~pre1-2ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0~pre1-3",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0-1ubuntu0.2",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0-1ubuntu0.4",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0-1ubuntu0.4+esm1",
"evidence": "/affected/1/versions"
},
{
"value": "16.0.0-1ubuntu0.4+esm2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "twisted",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "16.6.0-2ubuntu3",
"evidence": "/affected/2/versions"
},
{
"value": "17.9.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "17.9.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "17.9.0-2ubuntu0.1",
"evidence": "/affected/2/versions"
},
{
"value": "17.9.0-2ubuntu0.3",
"evidence": "/affected/2/versions"
},
{
"value": "17.9.0-2ubuntu0.3+esm1",
"evidence": "/affected/2/versions"
},
{
"value": "17.9.0-2ubuntu0.3+esm2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "twisted",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "18.9.0-3ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-5",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-6",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-6build1",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-6ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-8",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-11",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-11ubuntu0.20.04.1",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-11ubuntu0.20.04.2",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-11ubuntu0.20.04.3",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-11ubuntu0.20.04.4",
"evidence": "/affected/3/versions"
},
{
"value": "18.9.0-11ubuntu0.20.04.5",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "twisted",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "20.3.0-7ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "20.3.0-7ubuntu3",
"evidence": "/affected/4/versions"
},
{
"value": "22.1.0-2ubuntu2",
"evidence": "/affected/4/versions"
},
{
"value": "22.1.0-2ubuntu2.1",
"evidence": "/affected/4/versions"
},
{
"value": "22.1.0-2ubuntu2.3",
"evidence": "/affected/4/versions"
},
{
"value": "22.1.0-2ubuntu2.4",
"evidence": "/affected/4/versions"
},
{
"value": "22.1.0-2ubuntu2.5",
"evidence": "/affected/4/versions"
},
{
"value": "22.1.0-2ubuntu2.6",
"evidence": "/affected/4/versions"
},
{
"value": "22.1.0-2ubuntu2.7",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "twisted",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "22.4.0-4",
"evidence": "/affected/5/versions"
},
{
"value": "22.4.0-4ubuntu1",
"evidence": "/affected/5/versions"
},
{
"value": "23.10.0-2",
"evidence": "/affected/5/versions"
},
{
"value": "24.3.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "24.3.0-1ubuntu0.1",
"evidence": "/affected/5/versions"
},
{
"value": "24.3.0-1ubuntu0.2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "twisted",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "25.5.0-5",
"evidence": "/affected/6/versions"
},
{
"value": "26.4.0-4",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "twisted",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "24.11.0-1",
"evidence": "/affected/7/versions"
},
{
"value": "25.5.0-4",
"evidence": "/affected/7/versions"
},
{
"value": "25.5.0-5",
"evidence": "/affected/7/versions"
},
{
"value": "25.5.0-5ubuntu0.1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-106454",
"aliases": [
"UBUNTU-CVE-2026-106454"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted?arch=source&distro=esm-infra-legacy%2Ftrusty",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106454.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted?arch=source&distro=esm-infra%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106454.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted?arch=source&distro=esm-infra%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106454.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106454.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"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",
"22.1.0-2ubuntu2.7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106454.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "22.1.0-2ubuntu2.7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"22.4.0-4",
"22.4.0-4ubuntu1",
"23.10.0-2",
"24.3.0-1",
"24.3.0-1ubuntu0.1",
"24.3.0-1ubuntu0.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106454.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "24.3.0-1ubuntu0.2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"25.5.0-5",
"26.4.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106454.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "26.4.0-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "twisted",
"purl": "pkg:deb/ubuntu/twisted?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"24.11.0-1",
"25.5.0-4",
"25.5.0-5",
"25.5.0-5ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106454.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-twisted",
"binary_version": "25.5.0-5ubuntu0.1"
}
]
}
}
],
"modified": "2026-10-17T12:58:00.797768478Z",
"provider": "osv",
"upstream": [
"CVE-2026-106454"
],
"references": [
"https://ubuntu.com/security/CVE-2026-106454",
"https://www.cve.org/CVERecord?id=CVE-2026-106454",
"https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g",
"https://github.com/twisted/twisted/pull/12788"
]
},
"related_cves": [
{
"value": "CVE-2026-106454",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 357863,
"published_at": "2026-10-06T20:17:00+00:00"
}