PT-2026-23514 · Unknown+2 · Stanfordsegmenter+2
Published
2026-03-05
·
Updated
2026-05-25
·
CVE-2026-0848
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
NLTK versions 3.9.2 and earlier
Description
The software contains a flaw due to improper input validation in the StanfordSegmenter module, potentially leading to arbitrary code execution. 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 when the module is imported. This can be exploited through model poisoning, man-in-the-middle attacks, or dependency poisoning. The issue stems from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the Java Virtual Machine (JVM).
Recommendations
Versions prior to 3.9.2 should be updated.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Java Virtual Machine
Nltk
Stanfordsegmenter