CVE-2026-115775 · GHSA-3476-c5c2-fr73
Twisted: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree
- Risk score
- 72/100
- CVSS
- 8.7 v4.0
- Exploit chance (30 days)
- 0.7%
- Published
- 23 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- Twisted has a vulnerability in its XML parser that allows an unauthenticated remote peer to cause a denial of service by continuously adding child elements to an in-memory tree, exhausting server memory and terminating the process.
- Affected
- {'products': ['Twisted'], 'packages': ['Twisted'], 'versions': ['<= 26.4.0']}
- Fix
- Upgrade to version 26.10.0rc1 or later
- Exploitation
- No known exploitation
Story map
At a glance
Twisted: Amber, patch this week. Twisted has a vulnerability in its XML parser that allows an unauthenticated remote peer to cause a denial of service by continuously adding child elements to an in-memory tree, exhausting server memory and terminating the process.
The flaws
- CVE-2026-115775: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree (CVSS 8.7 · EPSS 1%)
- CVE-2026-115776: Unauthenticated Remote Denial of Service in the Twisted IRC Server via an Unbounded Line Buffer (CVSS 7.5 · EPSS 1%)
- CVE-2026-115778: Unauthenticated Remote Denial of Service in the Twisted conch Telnet Transport via an Unbounded Subnegotiation Buffer (CVSS 7.5 · EPSS 1%)
- CVE-2026-115774: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH (CVSS 4.9 · EPSS 1%)
The fix
Upgrade Twisted: 26.10.0 or later on your release line
Who is exposed: {'products': ['Twisted'], 'packages': ['Twisted'], 'versions': ['<= 26.4.0']}
Where it stands
- No known exploitation
Connects to
- Same weakness: Denial of service (CWE-400). 254 other warnings in 30 days
Why it is Amber
- CVSS 8.7 high
- Remotely exploitable without logging in
- On your watchlist: PyPI
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| Twisted | pip | <= 26.4.0 | 26.10.0rc1 |
References
- https://github.com/advisories/GHSA-3476-c5c2-fr73
- https://github.com/twisted/twisted/security/advisories/GHSA-3476-c5c2-fr73
- https://github.com/twisted/twisted/pull/12751
- https://github.com/twisted/twisted/commit/8873814bec8288e2466fad4d2c4d64039beb88b0
- https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1
- https://github.com/advisories/GHSA-3476-c5c2-fr73
Original 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.
Last activity 23 Oct 2026. Patch Forecast updates every hour.