# CVE-2026-106454: Twisted: IMAP wildcardToRegexp() ReDoS

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T19:55:36.523Z
- Modified: 2026-10-15T14:56:15.526Z
- Also known as: GHSA-8pqf-f4m5-798g, PYSEC-2026-4304
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- twisted twisted: <= 25.5.0
- twisted (PyPI): up to 26.4.0; up to 25.5.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g> (exploit, web)
- <https://github.com/twisted/twisted/pull/12788> (web)
- <https://github.com/twisted/twisted/commit/2f8a3c29246f4eb324690e06a9767a11dc4aec9f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106454> (advisory)
- <https://github.com/twisted/twisted> (package)
- <https://pypi.org/project/twisted> (package)
- <https://github.com/advisories/GHSA-8pqf-f4m5-798g> (advisory)

## Sources

- CVE List: [CVE-2026-106454](https://www.cve.org/CVERecord?id=CVE-2026-106454), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-8pqf-f4m5-798g](https://github.com/advisories/GHSA-8pqf-f4m5-798g), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-106454](https://nvd.nist.gov/vuln/detail/CVE-2026-106454), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4304](https://osv.dev/vulnerability/PYSEC-2026-4304), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-106454 · Whole record: https://cve.day/CVE-2026-106454.json · Rebuilt by cve.day 2026-11-25T22:59:42.519Z
