Inefficient regular expression complexity in Twisted Web - CVE-2026-106454
Published: August 19, 2026 / Updated: October 8, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in the wildcardToRegexp() function in twisted/mail/imap4.py when processing IMAP wildcard patterns in LIST or LSUB commands. A remote user can send a specially crafted quoted pattern string containing catastrophic-backtracking regex syntax to cause a denial of service.
Because the server uses a cooperative single-threaded reactor, a blocking regex match can freeze all I/O on the server for the duration of the match.
Affected software
openEuler
python-twisted
python3-twisted
python-twisted-help
How to mitigate CVE-2026-106454
python-twisted - update to 22.10.0-6
python3-twisted - update to 22.10.0-6
python-twisted-help - update to 22.10.0-6