ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-106454

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTStwisted
All versions, no fix listed
Ubuntu:Pro:16.04:LTStwisted
All versions, no fix listed
Ubuntu:Pro:18.04:LTStwisted
All versions, no fix listed
Ubuntu:20.04:LTStwisted
All versions, no fix listed
Ubuntu:22.04:LTStwisted
All versions before 22.1.0-2ubuntu2.8 (fixed in 22.1.0-2ubuntu2.8)
Ubuntu:24.04:LTStwisted
All versions before 24.3.0-1ubuntu0.3 (fixed in 24.3.0-1ubuntu0.3)
Ubuntu:26.10twisted
All versions before 26.4.0-4ubuntu0.1 (fixed in 26.4.0-4ubuntu0.1)
Ubuntu:26.04:LTStwisted
All versions before 25.5.0-5ubuntu0.2 (fixed in 25.5.0-5ubuntu0.2)

References