CVE-2026-0848
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.
EPSS 0.81% · 55.3th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk/nltk | unspecified, unspecified, unspecified |
Timeline
- Jan 10, 2026 CVE ID Reserved
- Mar 5, 2026 CVE Published
- Mar 5, 2026 PoC Published
- Mar 6, 2026 EPSS Score
- Mar 6, 2026 CVE Updated
- Mar 6, 2026 PoC Published
- Mar 7, 2026 PoC Published
- Mar 8, 2026 EPSS Score
- Mar 9, 2026 EPSS Score
- Mar 11, 2026 EPSS Score
- Mar 12, 2026 EPSS Score
- Mar 14, 2026 EPSS Score
References
- https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202 technical
- https://nvd.nist.gov/vuln/detail/CVE-2026-0848 advisory
- https://www.ibm.com/support/pages/node/7274185 advisory
- https://www.ibm.com/support/pages/node/7273957 advisory
- https://www.ibm.com/support/pages/node/7274184 advisory
- https://www.ibm.com/support/pages/node/7274314 advisory
- https://www.ibm.com/support/pages/node/7274183 advisory
- https://www.ibm.com/support/pages/node/7274181 advisory
- https://www.ibm.com/support/pages/node/7273803 advisory
- https://www.ibm.com/support/pages/node/7274154 advisory
- https://www.ibm.com/support/pages/node/7274180 advisory
- https://www.ibm.com/support/pages/node/7274182 advisory
- https://www.ibm.com/support/pages/node/7272901 advisory