Skip to content
Heist/ feed
Medium

Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-115774

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-115774

twisted

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "twisted",
    "product": "twisted",
    "versions": [
      {
        "status": "affected",
        "version": "< 26.10.0rc1"
      }
    ]
  }
]
Related CVEs
CVE-2026-115774

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#53189 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement