Bug 2444957 (CVE-2026-0848) - CVE-2026-0848 nltk: NLTK: Arbitrary code execution via unvalidated Java Archive (JAR) file loading
Summary: CVE-2026-0848 nltk: NLTK: Arbitrary code execution via unvalidated Java Archi...
Keywords:
Status: NEW
Alias: CVE-2026-0848
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-05 21:01 UTC by OSIDB Bzimport
Modified: 2026-03-24 16:21 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-03-05 21:01:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.