twisted/mail/imap4.py translates the IMAP asterisk · In 25.5.0 and earlier, wildcardToRegexp()
Affects twistedSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium · fixed in 22.1.0-2ubuntu2.8 : update twisted when convenient.
Data as of 30 Nov 2026, 18:36 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 22.1.0-2ubuntu2.8, 24.3.0-1ubuntu0.3, 26.4.0-4ubuntu0.1 +1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 6 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 14.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, consider restricting authenticated client input patterns or applying application-level rate limiting to reduce the risk of triggering this denial of service condition.
Description
In Twisted versions 25.5.0 and earlier, the wildcardToRegexp() function in twisted/mail/imap4.py improperly handles certain IMAP LIST or LSUB patterns from authenticated clients. It translates the asterisk and percent wildcards correctly but passes other characters directly to Python's re.compile(), which can lead to catastrophic backtracking with nested or complex regular expressions. This causes the single-threaded Twisted reactor to block, suspending all server input and output during the match. No fixed release is available as of the current review.
References
- ubuntu.com/security/CVE-2026-106454 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-106454 (opens in a new tab)
- github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g (opens in a new tab)
- github.com/twisted/twisted/pull/12788 (opens in a new tab)
- ubuntu.com/security/notices/USN-9000-1 (opens in a new tab)