cve.bz

CVE-2026-106454 twisted twisted

4.3 mediumEPSS 0.4%

Medium (4.3) in twisted twisted. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-106454 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-106454?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-106454?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-106454 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
twisted<= 25.5.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8pqf-f4m5-798gPyPItwisted<=26.4.0no fix published
PYSEC-2026-4304PyPItwisted<=25.5.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13twistedno fix listedDEBIAN-CVE-2026-106454
Debian14twisted26.4.0-5DEBIAN-CVE-2026-106454
Ubuntu20.04:LTS, Pro:14.04:LTS, Pro:16.04:LTS and 1 moretwistedno fix listedUBUNTU-CVE-2026-106454
Ubuntu22.04:LTStwisted22.1.0-2ubuntu2.8UBUNTU-CVE-2026-106454 USN-9000-1
Ubuntu24.04:LTStwisted24.3.0-1ubuntu0.3UBUNTU-CVE-2026-106454 USN-9000-1
Ubuntu26.04:LTStwisted25.5.0-5ubuntu0.2UBUNTU-CVE-2026-106454 USN-9000-1
Ubuntu26.10twisted26.4.0-4ubuntu0.1UBUNTU-CVE-2026-106454 USN-9000-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morepython-Twisted22.10.0-150400.5.31.1SUSE-SU-2026:5215-1
openSUSETumbleweedpython-Twisted26.4.0-4.1openSUSE-SU-2026:12137-1
Azure Linux3python-twisted22.10.0-7AZL-106712
Alpaquita23py3-twisted22.10.0-r3BELL-CVE-2026-106454
Alpaquita25py3-twisted24.11.0-r2BELL-CVE-2026-106454
Alpaquitastreampy3-twisted26.10.0-r0BELL-CVE-2026-106454

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A MODERATE severity regular expression denial of service (ReDoS) flaw was found in Twisted, an event-based Python framework bundled within several Red Hat products, including OpenShift Container Platform (Kuryr components), Red Hat Ansible Automation Platform (automation controller, event-driven automation controller, and Ansible Lightspeed containers), and Ansible Services offerings. The wildcardToRegexp() function 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 mailbox pattern directly to re.compile() without escaping. A remote attacker with an authenticated IMAP session can submit a crafted pattern containing nested quantifiers or other catastrophic-backtracking constructs; when the compiled pattern is matched against mailbox names, the blocking match suspends the framework's cooperative single-threaded reactor, halting all server input and output and rendering the application unresponsive to all other clients for the duration of the match. Only availability is affected; confidentiality and integrity are not (CVSS 4.3, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L), which is consistent with the upstream severity rating. Exposure requires a service built on Twisted's IMAP server implementation; the delegated review of the Red Hat Hardened Images component determined that the affected component is not present there. For most affected Red Hat product streams, remediation is deferred because the issue is MODERATE severity with a CVSS score below 7.0, and no fixed upstream release is currently available; the residual risk is that an authenticated IMAP user can repeatedly stall the server. Certain affected streams are out of support scope.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/controller-rhel8Out of support scope
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/eda-controller-rhel8Out of support scope
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/controller-rhel8Out of support scope
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/eda-controller-rhel8Out of support scope
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Out of support scope
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/eda-controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/eda-controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/lightspeed-rhel9Fix deferred
Red Hat Ansible Automation Platform 2automation-controllerFix deferred
Red Hat Ansible Automation Platform 2python3.11-twistedFix deferred
Red Hat Ansible Automation Platform 2python3.12-twistedFix deferred
Red Hat Ansible Automation Platform 2python3x-twistedOut of support scope
Red Hat Ansible Automation Platform 2python-twistedOut of support scope
Red Hat Hardened Imagespython-jsonschemaNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-kuryr-cni-rhel8Fix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-kuryr-controller-rhel8Fix deferred
Red Hat OpenStack Platform 16.2python-twistedOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-106454.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON