CVE-2026-115774: Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH
Vulnerability summary
CVE-2026-115774 is a medium (CVSS 4.9) Uncontrolled Resource Consumption vulnerability in twisted. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 44.2% of scored vulnerabilities.
Not severe (CVSS 4.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 23-10-2026PublishedVulnerability first disclosed.
- 29-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · PypiEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- awxAll versions (No fix recorded)
- synapseAll versions (No fix recorded) | < 1.164.1-r2
Debian1 product
- twistedAll versions (No fix recorded) | < 26.10.0-1
PyPI1 product
- twisted< 26.10.0rc1
Twisted1 product
- twisted< 26.10.0rc1
Ubuntu1 product
- twistedAll versions (No fix recorded)
5 vendors · 6 products
References
10 links- github.com/twisted/twisted/security/advisories/GHSA-2qrf-pqgx-qh9vX Refsource CONFIRMWEBREPORTAdvisory
- github.com/twisted/twisted/commit/3d125548bcbe955007cb97f480bb699a5e074741X Refsource MISCWEBREPORTFIX
- github.com/twisted/twistedPACKAGE