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.
Published: 2026-10-23
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Remote Denial of Service
Action: Immediate Patch
AI Analysis

Impact

Twisted’s words.domish XML parser can allow an unauthenticated remote peer to keep a container element open while continuously adding child elements. The parser stores the unfinished stanza as an in‑memory tree with no byte or element limit. Because XMPP pre‑authentication stream parsing exposes this behavior, an attacker can initiate a connection and send data that causes the server to build an arbitrarily large tree, leading to memory exhaustion that terminates the process and denies service to all users. This flaw is classified as CWE‑400 and CWE‑770.

Affected Systems

Any deployment of the Twisted framework for Python 3.6 or newer is affected, including applications that embed Twisted’s XMPP support. The vulnerability is fixed in Twisted version 26.10.0rc1, so all releases older than that are vulnerable.

Risk and Exploitability

With a CVSS score of 8.7 the flaw is considered high severity. The EPSS score is not available, but the lack of a publicly documented exploit in CISA KEV suggests no widespread active attacks yet. The flaw can be exploited by any unauthenticated peer that can open an XMPP stream to the server—no additional privileges are required. Once the attacker initiates the malformed stream, the server will consume memory until it crashes, disrupting service for all users. The high impact and remote nature warrant prompt remediation.

Generated by OpenCVE AI on October 23, 2026 at 21:33 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Twisted 26.10.0rc1 or later update to the package.
  • If a patch cannot be applied immediately, restrict or block incoming XMPP connections until the update is installed.
  • Deploy resource limits or runtime monitoring to detect and contain memory exhaustion conditions for the XMPP service.

Generated by OpenCVE AI on October 23, 2026 at 21:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-3476-c5c2-fr73 Twisted: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree
History

Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Fri, 23 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Twisted
Twisted twisted
Vendors & Products Twisted
Twisted twisted

Fri, 23 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title Twisted: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree
Weaknesses CWE-400
CWE-770
References
Metrics cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T20:16:29.913Z

Reserved: 2026-10-23T13:28:51.847Z

Link: CVE-2026-115775

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T21:17:23.050

Modified: 2026-10-23T21:17:23.050

Link: CVE-2026-115775

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-23T20:16:29Z

Links: CVE-2026-115775 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T22:45:14Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling