CVE-2026-106454
MEDIUM 4.3CVSS 3.1Twisted: IMAP wildcardToRegexp() ReDoS
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.
- Published
- 6 Oct 2026
- Last modified
- 15 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-1333
- Also known as
- GHSA-8pqf-f4m5-798gPYSEC-2026-4304
- Sources
- NVDJSONOSV GHSA-8pqf-f4m5-798gJSONOSV PYSEC-2026-4304JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | twisted | <= 26.4.0 | |
| OSV | PyPI | twisted | <= 25.5.0 |
References
- https://github.com/twisted/twisted/commit/2f8a3c29246f4eb324690e06a9767a11dc4aec9f · WEB
- https://github.com/twisted/twisted/pull/12788 · WEB
- https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g · 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
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 6 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Oct 2026)