Urgent
NLTK Java call path sandbox bypass allows code execution
CVE-2026-128138 and 19 more
Programs using the NLTK language tool can be hacked!
- CVE
- CVE-2026-128138 and 19 more
- Score
- CVSS 9.8 · CVE-2026-128138
- First seen
9.8
Products
Disclosed together nltk
Mitigation
Update NLTK to 3.10.4 or later. All versions before 3.10.4 are affected.
Summary
An application using NLTK can run attacker-chosen Java bytecode when attacker-controlled arguments reach its Java launch call. The same 3.10.4 release also fixes denial-of-service, path-bypass and unsafe-deserialization flaws.
Exploit code is public
Affected when
- CVE-2026-128138 attacker-chosen arguments passed to nltk.internals.java or StanfordSegmenter.java_class
- CVE-2026-129229 attacker-chosen regular expression passed to findall or RegexpTokenizer
- CVE-2026-129222, CVE-2026-129225 attacker-made CoNLL or Malt-TAB dependency file read
- CVE-2026-128139 attacker-made XML corpus file read through XMLCorpusView
- CVE-2026-129223, CVE-2026-129230 attacker-influenced WordNet-format resource read
- CVE-2026-129234 relative binary_location set and attacker able to plant an executable in the working directory
- CVE-2026-128135 attacker can prepare the ZIP extraction target
- CVE-2026-128140 attacker-made downloader index processed
- CVE-2026-128136 untrusted pickle model loaded
- CVE-2026-128137 attacker can place a symlink inside the corpus folder
- CVE-2026-129221 attacker-supplied class labels used for Weka training
- CVE-2026-129232 attacker-made deeply nested XML corpus read
- CVE-2026-129231 attacker-made corpus file with one very long unterminated line read
- CVE-2026-129233 application passes an attacker-influenced string path directly to StreamBackedCorpusView
- CVE-2026-129226 attacker-made deeply nested type string parsed
- CVE-2026-129227 attacker-made deeply nested list converted with Tree.fromlist
- CVE-2026-129228 attacker-made deeply nested settings passed to ToolboxSettings helper functions
- CVE-2026-129224 attacker-made deeply nested lexicon string parsed by the CCG parser
1 other Incident of this product in the last 30 days
Incidents by product: nltk
Other recent Incidents of nltk
Distribution packages (4) (every link below opens in a new tab)
- Debian 13 (trixie)nltk · not affected CVE-2026-129229, CVE-2026-128136, CVE-2026-129233
- Debian 13 (trixie)nltk · not fixed yet CVE-2026-128138, CVE-2026-129222, CVE-2026-128139, CVE-2026-129223, CVE-2026-129234, CVE-2026-128135, CVE-2026-128140, CVE-2026-129230, CVE-2026-128137, CVE-2026-129221, CVE-2026-129232, CVE-2026-129231, CVE-2026-129225, CVE-2026-129226, CVE-2026-129227, CVE-2026-129228, CVE-2026-129224
- Debian 12 (bookworm)nltk · not affected CVE-2026-129229, CVE-2026-128136, CVE-2026-129233
- Debian 12 (bookworm)nltk · not fixed yet CVE-2026-128138, CVE-2026-129222, CVE-2026-128139, CVE-2026-129223, CVE-2026-129234, CVE-2026-128135, CVE-2026-128140, CVE-2026-129230, CVE-2026-128137, CVE-2026-129221, CVE-2026-129232, CVE-2026-129231, CVE-2026-129225, CVE-2026-129226, CVE-2026-129227, CVE-2026-129228, CVE-2026-129224
Sources: Debian Security Tracker
20 CVEs (every link below opens in a new tab)
- CVE-2026-128138
- CVE-2026-129229
- CVE-2026-129222
- CVE-2026-128139
- CVE-2026-129223
- CVE-2026-129234
- CVE-2026-128135
- CVE-2026-128140
- CVE-2026-128136
- CVE-2026-129230
- CVE-2026-128137
- CVE-2026-129221
- CVE-2026-129232
- CVE-2026-129231
- CVE-2026-129233
- CVE-2026-129225
- CVE-2026-129226
- CVE-2026-129227
- CVE-2026-129228
- CVE-2026-129224
Read the advisory · github.com (opens in a new tab)
Each of the 20 CVEs (every link below opens in a new tab)
- CVE-2026-128138Lets an attacker run Java bytecode of their choice. CVSS 9.8 CVE-2026-128138 advisory
- CVE-2026-129229A crafted regular expression ties up the CPU at compile time, halting service. CVSS 7.5 CVE-2026-129229 advisory
- CVE-2026-129222A crafted dependency file crashes the processing worker. CVSS 7.5 CVE-2026-129222 advisory
Show 17 more
- CVE-2026-128139A large comment or CDATA section in an XML corpus ties up the CPU. CVSS 7.5 CVE-2026-128139 advisory
- CVE-2026-129223A custom WordNet resource crashes the traversal or worker. CVSS 7.5 CVE-2026-129223 advisory
- CVE-2026-129234A planted program in the working folder runs with the user's privileges. CVSS 7.3 CVE-2026-129234 advisory
- CVE-2026-128135ZIP extraction can overwrite files outside the NLTK data folder. CVSS 7.1 CVE-2026-128135 advisory
- CVE-2026-128140A crafted downloader index loops forever, denying service. CVSS 6.5 CVE-2026-128140 advisory
- CVE-2026-128136Loading an untrusted model can read a local file or create or truncate one. CVSS 6.1 CVE-2026-128136 advisory
- CVE-2026-129230A cyclic or deep WordNet hierarchy makes the operation fail or stall. CVSS 5.5 CVE-2026-129230 advisory
- CVE-2026-128137A symlink can expose the contents of a file outside the corpus root. CVSS 5.5 CVE-2026-128137 advisory
- CVE-2026-129221Crafted class labels alter the Weka training file, corrupting classifier input. CVSS 5.4 CVE-2026-129221 advisory
- CVE-2026-129232Deeply nested attacker-crafted corpus XML makes processing work grow quadratically, tying up a worker and causing denial of service. CVSS 5.3 CVE-2026-129232 advisory
- CVE-2026-129231A corpus file with one very long unterminated line makes CPU use grow quadratically in line-based readers, enabling denial of service. CVSS 5.3 CVE-2026-129231 advisory
- CVE-2026-129233If an application passes an attacker-influenced string directly to the constructor, the existence, size, and modification time of out-of-root files can be disclosed. CVSS 5.3 CVE-2026-129233 advisory
- CVE-2026-129225A deeply chained or cyclic attacker-controlled dependency structure can trigger a recursion error that aborts the parse worker. CVSS 5.3 CVE-2026-129225 advisory
- CVE-2026-129226An excessively nested attacker-controlled type string or signature can trigger a recursion error that aborts the current worker. CVSS 5.3 CVE-2026-129226 advisory
- CVE-2026-129227A list nested beyond the interpreter recursion limit can trigger a recursion error that ends the parse operation or request worker. CVSS 5.3 CVE-2026-129227 advisory
- CVE-2026-129228Calling certain helper functions on deeply nested settings input can trigger a recursion error that aborts the operation or request worker. CVSS 5.3 CVE-2026-129228 advisory
- CVE-2026-129224An excessively nested attacker-controlled lexicon string can trigger a recursion error that terminates the parse operation or request worker. CVSS 5.3 CVE-2026-129224 advisory
Repository (21): github.com
- googlesky/CVE-2026-129227 (opens in a new tab)
- googlesky/CVE-2026-129224 (opens in a new tab)
- googlesky/CVE-2026-129234 (opens in a new tab)
- googlesky/CVE-2026-129233 (opens in a new tab)
- googlesky/CVE-2026-129231 (opens in a new tab)
- googlesky/CVE-2026-129232 (opens in a new tab)
- googlesky/CVE-2026-129226 (opens in a new tab)
- googlesky/CVE-2026-129225 (opens in a new tab)
- googlesky/CVE-2026-129228 (opens in a new tab)
- googlesky/CVE-2026-129230 (opens in a new tab)
- googlesky/CVE-2026-129229 (opens in a new tab)
- googlesky/CVE-2026-128135 (opens in a new tab)
- googlesky/CVE-2026-129221 (opens in a new tab)
- googlesky/CVE-2026-128136 (opens in a new tab)
- googlesky/CVE-2026-128139 (opens in a new tab)
- googlesky/CVE-2026-128138 (opens in a new tab)
- googlesky/CVE-2026-128140 (opens in a new tab)
- googlesky/CVE-2026-128137 (opens in a new tab)
- googlesky/CVE-2026-129222 (opens in a new tab)
- googlesky/CVE-2026-129223 (opens in a new tab)
- cveForge/CVE-2026-128138 (opens in a new tab)