Live threats

All CVEs / twisted

CVE-2026-115774twisted

Medium 4.9

Priority
29
CVSS 3.1
4.9
EPSS
—
Auth required
Yes
Published
Oct 23, 2026
Updated
Oct 29, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-835
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for twisted.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI twisted < 26.10.0rc1 26.10.0rc1 pip install "twisted>=26.10.0rc1"

Per OSV / GitHub Advisories (GHSA-2qrf-pqgx-qh9v). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.