PT-2026-23514 · Nltk+4 · Nltk+4

CVE-2026-0848

·

Published

2025-12-05

·

Updated

2026-08-31

CVSS v3.1

10

Critical

VectorAV: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 prior to 3.9.3
Description Improper input validation in the StanfordSegmenter module allows for arbitrary code execution. The module dynamically loads external Java .jar files without verification or sandboxing, enabling an attacker to supply or replace a JAR file to execute arbitrary Java bytecode during import. This can be achieved through model poisoning, Man-in-the-Middle (MitM) attacks, or dependency poisoning. The issue stems from the direct execution of the JAR file via a subprocess using unvalidated classpath input, which allows malicious classes to run when loaded by the Java Virtual Machine (JVM).
Recommendations Update to a version newer than 3.9.2. As a temporary workaround, restrict the use of the StanfordSegmenter module to minimize the risk of exploitation.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-07977
CVE-2026-0848
PYSEC-2026-99
USN-8302-1

Affected Products

Java Virtual Machine
Linuxmint
Nltk
Stanfordsegmenter
Ubuntu