Skip to content
High 7.5 Web Application

Vulnerability in nltk

CVE-2026-78681 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

NLTKの3.10.3より前のバージョンでは、複数のモジュールがDTDの実体宣言を処理するXMLパーサーを使っているため、細工されたXMLによって数百バイトの入力が数メガバイトに展開され、サービス妨害(DoS)を引き起こされるおそれがあります。修正版の3.10.3以降にアップデートしてください。

What is the problem

NLTKにおけるXML解析の脆弱性。

Affected scope

NLTKの3.10.3未満のバージョン。

Severity

攻撃者がXMLドキュメントの構造を悪用し、メモリを消費させることでDoS攻撃を引き起こせる。

How to fix

NLTKをバージョン3.10.3以降にアップグレードする。

Workaround

情報なし

Detection

xml.etree.ElementTreeを使用してXMLを解析しているか確認する。

Affected packages

PackageAffected → Fixed
pipnltk
< 3.10.3→ 3.10.3
PyPInltk
< 3.10.3→ 3.10.3

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

NLTK versions before 3.10.3 use xml.etree.ElementTree to parse XML in multiple modules, which honors entity declarations in document DTDs. Attackers can craft XML payloads with nested entity declarations that expand from hundreds of bytes to megabytes in memory, causing denial of service.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details