CVEfocus › CVE database › CVE-2026-106454

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

CVSS 4.3 MediumEPSS 0.5% (higher than 31% of CVEs)Published 2026-10-06Updated 2026-10-07Assigner: GitHub_M

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.

CWE-1333

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian, PyPI, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
7Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10twistedFixed26.4.0-4ubuntu0.1UBUNTU-CVE-2026-106454
Ubuntu 26.04twistedFixed25.5.0-5ubuntu0.2UBUNTU-CVE-2026-106454
Ubuntu 24.04twistedFixed24.3.0-1ubuntu0.3UBUNTU-CVE-2026-106454
Ubuntu 22.04twistedFixed22.1.0-2ubuntu2.8UBUNTU-CVE-2026-106454
Ubuntu 20.04twistedFix pendingUBUNTU-CVE-2026-106454
Ubuntu 18.04twistedFix pendingUBUNTU-CVE-2026-106454
Ubuntu 16.04twistedFix pendingUBUNTU-CVE-2026-106454
Ubuntu 14.04twistedFix pendingUBUNTU-CVE-2026-106454
Debian 14twistedFixed26.4.0-5DEBIAN-CVE-2026-106454
Debian 13twistedFix pendingDEBIAN-CVE-2026-106454
Debian 12twistedFix pendingDEBIAN-CVE-2026-106454
PyPI librarytwistedFix pendingPYSEC-2026-4304

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.