Vulnerability

CVE-2026-128138

criticalCVSS 3.1 9.8Published 19 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /nltk/nltk/commit/b36212795a522d2b7b176cf0e0d9d8da489ba6e6
  • github.com /nltk/nltk/pull/3771
  • github.com /nltk/nltk/releases/tag/v3.10.4
  • github.com /nltk/nltk/security/advisories/GHSA-x8q7-6c7m-52gw

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning