CVE-2026-0848: Vulnerability in Nltk

Critical. 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...

CWE-20

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-20
Published
5 Mar 2026
Last change
17 Jun 2026

Affected products

Affected versions and the first fixed release

  • Nltk Through 3.9.2. No fixed version recorded

Advisories

Vendor and security advisories

Related