CVE-2026-115774
Fixed upstream EPSS <1%CVSS 4.9
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.
Products: twisted
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | twisted | 26.10.0rc1 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | awx | no fix |
| Chainguard | synapse | no fix |
| Debian 12 | twisted | no fix |
| Debian 13 | twisted | no fix |
| Debian 14 | twisted | no fix |
| Ubuntu 20.04 LTS | twisted | no fix |
| Ubuntu 22.04 LTS | twisted | no fix |
| Ubuntu 24.04 LTS | twisted | no fix |
| Ubuntu 26.04 LTS | twisted | no fix |
| Ubuntu 26.10 | twisted | no fix |
| Ubuntu Pro 14.04 LTS | twisted | no fix |
| Ubuntu Pro 16.04 LTS | twisted | no fix |
| Ubuntu Pro 18.04 LTS | twisted | no fix |