Vulnerability · Published Oct 23, 2026 · Assigned by GitHub_M
CVE-2026-115775Twisted: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree
High 8.7
In plain English
A high-severity uncontrolled resource consumption in twisted from twisted. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, the twisted.words.xish.domish ExpatElementStream parser allows an unauthenticated remote peer to keep a container element open while continuously adding child elements. The parser retains the unfinished stanza as an in-memory tree without a byte or element-count limit, and XMPP pre-authentication stream parsing exposes this behavior before credentials are accepted. A single connection can therefore exhaust server memory and terminate the process. This issue is fixed in version 26.10.0rc1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | twisted | no fix listed | DEBIAN-CVE-2026-115775 |
| Debian:13 | twisted | no fix listed | DEBIAN-CVE-2026-115775 |
| Debian:14 | twisted | 26.10.0-1 | DEBIAN-CVE-2026-115775 |
| PyPI | twisted | 26.10.0rc1 | GHSA-3476-c5c2-fr73 |
| Ubuntu:22.04:LTS | twisted | no fix listed | UBUNTU-CVE-2026-115775 |
| Ubuntu:24.04:LTS | twisted | no fix listed | UBUNTU-CVE-2026-115775 |
| Ubuntu:26.04:LTS | twisted | no fix listed | UBUNTU-CVE-2026-115775 |
| Ubuntu:26.10 | twisted | no fix listed | UBUNTU-CVE-2026-115775 |
Affected products (as reported)
Weakness: CWE-400, CWE-770 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/twisted/twisted/security/advisories/GHSA-3476-c5c2-fr73 x_refsource_CONFIRM
- https://github.com/twisted/twisted/pull/12751 x_refsource_MISC
- https://github.com/twisted/twisted/commit/8873814bec8288e2466fad4d2c4d64039beb88b0 x_refsource_MISC
- https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1 x_refsource_MISC