Skip to main content
MEDIUM

CVE-2026-106454

Twisted: IMAP wildcardToRegexp() ReDoS

CVSS v3

4.3

MEDIUM

EPSS Score

0.3 %

exploit probability, as of 2026-10-18

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for twisted.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • twistedPyPIall versions · no fixed version listed

Vendor advisories

  • CVE-2026-106454 Red Hat Product Security20 known affected

    twisted: Twisted: Denial of Service via regular expression backtracking in IMAP search patterns

    ansible-automation-platform-24/controller-rhel8 as a component of Red Hat Ansible Automation Platform 2 · ansible-automation-platform-24/eda-controller-rhel8 as a component of Red Hat Ansible Automation Platform 2 · ansible-automation-platform-25/controller-rhel8 as a component of Red Hat Ansible Automation Platform 2

Full record on NVD

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Published
2026-10-06
Last Modified
2026-10-07

Frequently asked questions

What is CVE-2026-106454?

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.

Is CVE-2026-106454 actively exploited?

Active exploitation of CVE-2026-106454 has not been confirmed. Its EPSS score was 0.3% on 2026-10-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-106454?

CVE-2026-106454 has a CVSS v3 base score of 4.3 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.

Running twisted? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month