Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH
Exact source revision recorded 23 Oct 2026 21:48:20 UTC. It does not establish the source's current position. Latest evidence.
cve-program · CVE-2026-115774
PublishedTwisted 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.
- Source published
- 23 Oct 2026 20:14:07 UTC
- Source modified
- 23 Oct 2026 20:14:07 UTC
- Observed here
- 23 Oct 2026 21:48:20 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 3.1 · 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H