Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/twisted/twisted/commit/2f8a3c29246f4eb324690e06a9767a11dc4aec
- https://github.com/twisted/twisted/pull/12788
- https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g
- https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g
FAQ
What is CVE-2026-106454?
CVE-2026-106454 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 wildc...
How severe is CVE-2026-106454?
CVE-2026-106454 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-106454?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.