PatchSiren cyber security CVE debrief
CVE-2026-106454 twisted CVE debrief
The CVE record was published on 2026-10-07T16:18:30.000Z and has not been modified since then. The NVD entry is currently null. This CVE record details a vulnerability in Twisted's IMAP implementation, specifically in the `wildcardToRegexp()` function, which is vulnerable to ReDoS attacks. IMAP service operators and administrators should assess their exposure and prioritize verification of their configurations. The vulnerability allows an authenticated IMAP client to cause a denial-of-service (DoS) attack by sending a specially crafted pattern string.
- Vendor
- twisted
- Product
- Unknown
- CVSS
- MEDIUM 4.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-07
- Original CVE updated
- 2026-10-07
- Advisory published
- 2026-10-07
- Advisory updated
- 2026-10-07
Who should care
IMAP service operators and administrators who use Twisted IMAP servers should assess their exposure and prioritize verification of their configurations. This includes reviewing and verifying server configurations, implementing compensating controls, and upgrading to a patched version of Twisted if available. Additionally, security teams and vulnerability management teams should be aware of the potential impact of this vulnerability on their systems and be
Why it matters
The CVE-2026-106454 vulnerability in Twisted's IMAP implementation allows an authenticated IMAP client to cause a denial-of-service (DoS) attack by sending a specially crafted pattern string. IMAP service operators and administrators should assess their exposure and prioritize verification of their configurations.
- Potential denial-of-service (DoS) attacks against IMAP servers due to ReDoS vulnerability.
- Possible degradation of IMAP server performance due to blocking regex matches.
- Need for verification of Twisted IMAP server configurations to ensure they are not vulnerable.
Technical summary
The `wildcardToRegexp()` function in `twisted/mail/imap4.py` is vulnerable to ReDoS attacks due to its conversion of IMAP LIST/LSUB wildcard patterns to Python regular expressions. An authenticated IMAP client can send a quoted pattern string containing arbitrary regex syntax, including catastrophic-backtracking constructs, which can cause a blocking regex match to freeze all I/O on the server. The vulnerability exists because the function substitutes IMAP wildcards (`*` → `(?:.*?)` and `%` → `(?:(?:[^/])*?)`) but passes every other character through unchanged to `re.compile()`.
Defensive priority
IMAP service operators and administrators should assess exposure and prioritize verification of Twisted IMAP server configurations.
Recommended defensive actions
- Review and verify Twisted IMAP server configurations to ensure they are not vulnerable to ReDoS attacks.
- Implement compensating controls, such as rate limiting or monitoring, to detect and prevent potential attacks.
- Upgrade to a patched version of Twisted, if available.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The vulnerability exists in the `wildcardToRegexp()` function in `twisted/mail/imap4.py`, which converts IMAP LIST/LSUB wildcard patterns to Python regular expressions. An authenticated IMAP client can send a quoted pattern string containing arbitrary regex syntax, including catastrophic-backtracking constructs.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-106454 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-106454
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-106454 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-106454
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Twisted: IMAP wildcardToRegexp() ReDoS
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-8pqf-f4m5-798g.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/twisted/twisted/pull/12788
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/twisted/twisted/commit/2f8a3c29246f4eb324690e06a9767a11dc4aec9f
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/twisted/twisted
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.