Critical severity9.8NVD Advisory· Published Nov 19, 2026· Updated Nov 19, 2026
CVE-2026-128138
CVE-2026-128138
Description
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.10.3 until 3.10.4, the NLTK 3.10.3 JVM hardening validates Java launcher tokens in the options channel but appends the caller-controlled cmd sequence without requiring its first token to be a main class. Supplying -jar or an @argfile through nltk.internals.java or StanfordSegmenter.java_class can therefore execute attacker-selected Java bytecode without the unsafe-JAR opt-in. This issue is fixed in version 3.10.4.
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-x8q7-6c7m-52gwghsaADVISORY
- github.com/nltk/nltk/commit/b36212795a522d2b7b176cf0e0d9d8da489ba6e6nvd
- github.com/nltk/nltk/pull/3771nvd
- github.com/nltk/nltk/releases/tag/v3.10.4nvd
- github.com/nltk/nltk/security/advisories/GHSA-x8q7-6c7m-52gwnvd
- nvd.nist.gov/vuln/detail/CVE-2026-128138ghsa
News mentions
0No linked articles in our index yet.