CVE & CISA-KEV Catalog

CVE-2026-12252

HIGH
7.8
CVSS v3
NVD

Description

In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.

How to fix

No published remediation has been found for this vulnerability's affected products yet.

Mitigation guidance may be in the linked vendor advisories in the References section below.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

0.15%probability of exploitation in 30 days
5thpercentile

Low risk: more likely to be exploited than 5% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-94 (Code Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-9841Critical9.8100%KEVFix
CVE-2015-1635Critical9.8100%KEV-
CVE-2022-22954Critical9.8100%KEV + Ransom-
CVE-2021-22204Medium6.8100%KEVFix
CVE-2025-3248Critical9.8100%KEVFix
CVE-2012-0158High8.8100%KEV-
Embed a live status badge for CVE-2026-12252
CVE-2026-12252 severity badge

Markdown

[![CVE-2026-12252](https://tridentstack.com/cve/badge/CVE-2026-12252.svg)](https://tridentstack.com/cve/CVE-2026-12252)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-12252"><img src="https://tridentstack.com/cve/badge/CVE-2026-12252.svg" alt="CVE-2026-12252"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-04.