CVE-2026-115774
Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH
Fetching some sources has been requested. Reload in about a minute to see them.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack conditions and impact
Derived from the CNA (via NVD) CVSS 3.1 vector| Metric | Value | Meaning |
|---|---|---|
| Attack vector AV | N | Network |
| Attack complexity AC | L | Low (easy) |
| Privileges required PR | H | Administrator |
| User interaction UI | N | None |
| Scope S | U | Unchanged |
| Confidentiality C | N | None |
| Integrity I | N | None |
| Availability A | H | High |
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
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 assessments
| Provider | Version | Score | Vector |
|---|---|---|---|
| NVD / [email protected] (Secondary) | 3.1 | 4.9 MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| CNA / GitHub_M | 3.1 | 4.9 MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| twisted | twisted | affected: < 26.10.0rc1 |
Open-source packages (GitHub Advisory / OSV)
Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| PyPI | Twisted | <= 26.4.0 | 26.10.0rc1 |
Linux distribution status
Red Hat ↗ moderate
| Release | Package | Status | Fixed version / notes |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/controller-rhel8 | out of support scope | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/controller-rhel8 | out of support scope | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | out of support scope | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/controller-rhel9 | fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/eda-controller-rhel9 | fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/lightspeed-rhel9 | fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/controller-rhel9 | fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/eda-controller-rhel9 | fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/lightspeed-rhel9 | fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | fix deferred | |
| Red Hat Ansible Automation Platform 2 | python-twisted | out of support scope | |
| Red Hat OpenStack Platform 16.2 | python-twisted | out of support scope | |
| Red Hat Ansible Automation Platform 2 | python3.11-twisted | fix deferred | |
| Red Hat Ansible Automation Platform 2 | python3.12-twisted | fix deferred | |
| Red Hat Ansible Automation Platform 2 | python3x-twisted | out of support scope |
Debian ↗
| Release | Package | Status | Fixed version / notes |
|---|---|---|---|
| bookworm | twisted | open not yet assigned | |
| forky | twisted | open not yet assigned | |
| sid | twisted | open not yet assigned | |
| trixie | twisted | open not yet assigned | no-dsa: Minor issue |
Ubuntu ↗ Fetching
References (5)
- https://github.com/advisories/GHSA-2qrf-pqgx-qh9v GHSA
- https://github.com/twisted/twisted/commit/3d125548bcbe955007cb97f480bb699a5e074741 NVD, CNA, GHSA x_refsource_MISC
- https://github.com/twisted/twisted/pull/12764 NVD, CNA, GHSA x_refsource_MISC
- https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1 NVD, CNA, GHSA x_refsource_MISC
- https://github.com/twisted/twisted/security/advisories/GHSA-2qrf-pqgx-qh9v NVD, CNA, GHSA x_refsource_CONFIRM