Skip to main content
CRITICAL

CVE-2026-0848

CVSS v3

10

CRITICAL

EPSS Score

0.8 %

exploit probability, as of 2026-10-16

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for nltk. Watch nltk in CVE Watch Free account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • nltkPyPIall versions · fixed in 3.9.3

Vendor advisories

  • CVE-2026-0848 Red Hat Product Security

    nltk: NLTK: Arbitrary code execution via unvalidated Java Archive (JAR) file loading

Full record on NVD

Description

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.

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2026-03-05
Last Modified
2026-04-21

Frequently asked questions

What is 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.

Is CVE-2026-0848 actively exploited?

Active exploitation of CVE-2026-0848 has not been confirmed. Its EPSS score was 0.8% on 2026-10-16, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-0848?

CVE-2026-0848 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running nltk? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key