CVEfocus › CVE database › CVE-2026-115774

CVE-2026-115774Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in…

CVSS 4.9 MediumEPSS 0.6% (higher than 42% of CVEs)Published 2026-10-23Updated 2026-10-29Assigner: GitHub_M

Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, twisted.mail.imap4.IMAP4Server reaches twisted.mail.imap4.parseNestedParens with a negative literal size in an authenticated SEARCH command after the client enters the selected mailbox state. The negative size moves the parser cursor below zero, and Python's negative indexing prevents the synchronous scanning loop from terminating. The loop freezes the single-threaded reactor, stopping other IMAP connections and any SMTP or POP3 services hosted in the same process until restart. This issue is fixed in version 26.10.0rc1.

CWE-400CWE-835

What to do

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

Debian, Red Hat, 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

2Fixed
8Fix pending
3Under investigation

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.10twistedFix pendingUBUNTU-CVE-2026-115774
Ubuntu 26.04twistedUnder investigationUBUNTU-CVE-2026-115774
Ubuntu 24.04twistedUnder investigationUBUNTU-CVE-2026-115774
Ubuntu 22.04twistedUnder investigationUBUNTU-CVE-2026-115774
Ubuntu 20.04twistedFix pendingUBUNTU-CVE-2026-115774
Ubuntu 18.04twistedFix pendingUBUNTU-CVE-2026-115774
Ubuntu 16.04twistedFix pendingUBUNTU-CVE-2026-115774
Ubuntu 14.04twistedFix pendingUBUNTU-CVE-2026-115774
Debian 14twistedFixed26.10.0-1DEBIAN-CVE-2026-115774
Debian 13twistedFix pendingDEBIAN-CVE-2026-115774
Debian 12twistedFix pendingDEBIAN-CVE-2026-115774
Red Hat Enterprise Linux 6python-twistedFix pending
Fix deferred
PyPI librarytwistedFixed26.10.0rc1GHSA-2qrf-pqgx-qh9v

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.