脆弱性の一覧へ戻る
編集部の見出し:NLTK:XML のコーパスの読み込みで計算量が膨らみ処理が止まる(7.5)
NVD の情報
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.6 to 3.10.3, XMLCorpusView._read_xml_fragment accumulates 1 KiB blocks and repeatedly applies whole-buffer XML validation while a comment or CDATA terminator remains ahead. A large comment in an attacker-controlled corpus file causes quadratic CPU consumption through documented XML corpus readers across the affected range. On 3.6 and 3.9.2, a large CDATA section incurs the quadratic scan before rejection, while on 3.10.3 both comment and CDATA documents are read successfully. This vulnerability is fixed in 3.10.4.
- 公開日
- 2026-11-19
- 最終更新(NVD)
- 2026-11-19
- NVD の状態
- Awaiting Analysis
- 脆弱性の種類
- CWE-400、CWE-407
深刻度(CVSS)
- 7.5 HighCVSS 3.1/副/評価:security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
解消方法
- nltk のバージョンアップ3.10.4 以降根拠:公告(編集部の転記)
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-20 のレポートNLTK:XML のコーパスの読み込みで計算量が膨らみ処理が止まる(7.5)
3.6〜3.10.3 が対象。3.10.4 で修正。NLTK の第4版カードにまとめて掲載。
公告に記載の修正版
- nltk 3.10.4公告
参照(NVD)
NVD から取得:2026-11-19T18:50:19.087Z
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。