本文へ移動
English version →
高 8.7

Twisted 認証前に遠隔からサービス停止される恐れ

CVE-2026-115775 SecPulse初出

概要

Twisted の words domish XML 要素ストリーム処理に、認証なしの遠隔からサービス拒否を引き起こされる脆弱性が見つかりました。1 つの接続で要素を際限なく追加されるとメモリが枯渇し、プロセスが停止するおそれがあります。26.10.0rc1 より前の版が影響を受け、修正版の 26.10.0rc1 で対処されています。

AI要約

外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Twisted の words domish XML 要素ストリーム処理に、認証なしの遠隔からサービス拒否を引き起こされる脆弱性が見つかりました。1 つの接続で要素を際限なく追加されるとメモリが枯渇し、プロセスが停止するおそれがあります。26.10.0rc1 より前の版が影響を受け、修正版の 26.10.0rc1 で対処されています。

影響パッケージ

種類パッケージ影響を受ける版直った版
twisted twisted — —
pip Twisted
26.10.0rc1 未満
26.10.0rc1
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Summary

An allocation-without-limits vulnerability in the Twisted XML element stream lets any unauthenticated remote peer exhaust server memory over a single stream. When the peer opens a container element and streams child elements without ever closing the container, every element is materialised into an in-memory tree with no limit on depth or child count. An element is released only when its end tag arrives, so a container the attacker never closes retains everything beneath it until the process is killed.

Details

In ExpatElementStream._onStartElement, each start tag appends a new element to the current element's children and descends into it, with no depth or child-count check:

# src/twisted/words/xish/domish.py  (ExpatElementStream._onStartElement)
if self.documentStarted == 1:
    if self.currElem != None:
        self.currElem.children.append(e)   # append child: no depth/count cap
        e.parent = self.currElem
    self.currElem = e                      # descend into the new element

An element is emitted and dropped only when its end tag arrives while it sits directly under the document root, so a container that is never closed keeps every child beneath it. The transport XmlStream.dataReceived feeds bytes to self.stream.parse(data) with no size limit, and in XMPP the stream is parsed during negotiation before authentication.

Affected product: Twisted, twisted.words.xish.domish element stream
Affected versions: confirmed against 26.…

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく