CVE-2026-106454
Twisted: IMAP wildcardToRegexp() ReDoS
Reported by github_m · Published October 6, 2026
twisted is fixed in 25.5.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| twisted | PyPI | 25.5.0 |
| awx | Chainguard | 24.6.1-r80 |
| synapse | Chainguard | 1.164.1-r2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| twisted | twisted | <= 25.5.0 |
| chainguard | awx | 0 |
| chainguard | synapse | 0 |
| twisted | twisted | 0 |
| PyPI | Twisted | 0 |
Timeline
- Oct 6, 2026 CVE Published
- Oct 7, 2026 EPSS Score (19 in total, the first dated here)
- Oct 7, 2026 CVE Updated
- Oct 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-106454
vulnetix vdb fixes CVE-2026-106454
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-106454/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g x_refsource_CONFIRM
- https://github.com/twisted/twisted/pull/12788 x_refsource_MISC
- https://github.com/twisted/twisted/commit/2f8a3c29246f4eb324690e06a9767a11dc4aec9f x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-106454 advisory
- https://github.com/advisories/GHSA-8pqf-f4m5-798g advisory