CVE-2026-106454
mediumTwisted is an event-based framework for internet applications, supporting Python 3.6+.
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/twisted/twisted/commit/2f8a3c29246f4eb324690e06a9767a11dc4aec9f security-advisories@github.com
- https://github.com/twisted/twisted/pull/12788 security-advisories@github.com
- https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g security-advisories@github.com
- https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g 134c704f-9b21-4f2e-91b3-4a467353bcc0
