CVE-2026-0848: nltk Improper Input Validation
Vulnerability summary
CVE-2026-0848 is a critical (CVSS 10.0) Improper Input Validation vulnerability in nltk. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 54.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 05-03-2026PublishedVulnerability first disclosed.
- 06-03-2026Last modifiedVulnerability information updated.
Description
NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · PypiEcosystem advisory · calculated10.0CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated10.0CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated10.0CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- NVDNIST10.0CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.77%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
-0.04 pp
From 0.81% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- nltkAll versions (No fix recorded) | < 3.9.3-1
PyPI1 product
- nltk< 3.9.3
Ubuntu1 product
- nltk< 3.2.5-1ubuntu0.1+esm4 | < 3.4.5-2ubuntu0.1~esm4 | < 3.7-1ubuntu0.1~esm2 | < 3.8.1-1ubuntu0.1~esm2 | All versions (No fix recorded) | < 3.9.2-1ubuntu0.1~esm2
4 vendors · 5 products