Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
4.3

CVE-2026-106454: Twisted IMAP list handling can freeze server

CVE-2026-106454 · published 29 days ago
Summary

The Twisted Python library lets email clients ask for mailbox lists. A flaw in how it processes certain search patterns can cause the server to stop responding while it works through the request. Update Twisted to a newer version as soon as a fix is released, or apply a temporary patch that validates client patterns before processing.

What to do
  • Update debian twisted to version 26.4.0-5.
Affected software
Ecosystem VendorProductAffected versions
– twisted twisted <= 25.5.0
pip – twisted <= 25.5.0
<= 26.4.0
Debian:12 debian twisted All versions
Ubuntu:Pro:14.04:LTS canonical twisted All versions
Alpaquita:23 bellsoft py3-twisted >= 22.10.0-r1
Alpaquita:25 bellsoft py3-twisted >= 24.11.0-r0
Alpaquita:stream bellsoft py3-twisted >= 22.10.0-r0
Debian:14 debian twisted < 26.4.0-5
Fix: upgrade to 26.4.0-5
Original advisory text
Twisted: IMAP wildcardToRegexp() ReDoS
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
4.3 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-1333Inefficient Regular Expression Complexity (ReDoS)
Timeline
Published6 Oct 2026
Updated4 Nov 2026
First seen6 Oct 2026
Track software like this
Free during beta