Twisted: IMAP wildcardToRegexp() ReDoS
CVE-2026-106454 is fixed in 2 products on 1 platform, first by python3-twisted 22.1.0-2ubuntu2.8, released October 6, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| python3-twisted · Ubuntu 22.04.1 LTS (jammy) | 22.1.0-2ubuntu2.8 | python3-twisted 22.1.0-2ubuntu2.8 | Oct 6, 2026 |
| python3-twisted · Ubuntu 24.04.5 LTS (noble) | 24.3.0-1ubuntu0.3 | python3-twisted 24.3.0-1ubuntu0.3 | Oct 6, 2026 |
| python3-twisted · Ubuntu 26.04.1 LTS (resolute) | 25.5.0-5ubuntu0.2 | python3-twisted 25.5.0-5ubuntu0.2 | Oct 6, 2026 |
| twisted · Debian 14 | 26.4.0-5 | DEBIAN-CVE-2026-106454 | Oct 20, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.