CVE-2026-115774
MEDIUM 4.9CVSS 3.1Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH
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.
- Published
- 23 Oct 2026
- Last modified
- 29 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-835
- Also known as
- GHSA-2qrf-pqgx-qh9v
- Sources
- NVDJSONOSV GHSA-2qrf-pqgx-qh9vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | twisted | < 26.10.0rc1 | 26.10.0rc1 |
References
- https://github.com/twisted/twisted/commit/3d125548bcbe955007cb97f480bb699a5e074741 · WEB
- https://github.com/twisted/twisted/pull/12764 · WEB
- https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1 · WEB
- https://github.com/twisted/twisted/security/advisories/GHSA-2qrf-pqgx-qh9v · WEB
- https://github.com/twisted/twisted · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 23 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Oct 2026)