NLTKに脆弱性、ZIP展開で想定外のファイルが上書きされるおそれ
Summary
NLTKの3.9.4から3.10.3までには、ZIPパッケージを展開する際に、データ領域の外にあるファイルを上書きされるおそれのある脆弱性があります。CVSSは7.1で、ローカルから攻撃される可能性が示されています。修正版の3.10.4が公開されているため、該当するバージョンを使っている場合は更新してください。
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.9.4から3.10.3までには、ZIPパッケージを展開する際に、データ領域の外にあるファイルを上書きされるおそれのある脆弱性があります。CVSSは7.1で、ローカルから攻撃される可能性が示されています。修正版の3.10.4が公開されているため、該当するバージョンを使っている場合は更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nltknltk | — | Not listed |
| PyPInltk |
≥ 3.9.4, < 3.10.4→ 3.10.4 |
3.10.4 |
| pipnltk |
< 3.10.4→ 3.10.4 |
3.10.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128135 nltk No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128135 nltk No fixed version in this record
Original description The description as published by the source.
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.9.4 to 3.10.3, NLTK ZIP package extraction can write through an existing in-root hardlink whose other link points outside the NLTK data root. A local attacker who can prepare the extraction target can cause a package member write to overwrite an out-of-root file, violating the pathsec containment boundary and affecting integrity and availability. This issues is fixed in version 3.10.4.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com