Cyber Resilience

CVE-2026-12252

High

Published: 04 July 2026

Published
04 July 2026
Modified
04 July 2026
KEV Added
Patch
CVSS Score v3 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score N/A
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-12252 is a high-severity Code Injection (CWE-94) vulnerability. Its CVSS base score is 7.8 (High).

Operationally, it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2021-25283Shared CWE-94
CVE-2024-48138Shared CWE-94
CVE-2025-61136Shared CWE-94
CVE-2023-46845Shared CWE-94
CVE-2024-25089Shared CWE-94
CVE-2023-32540Shared CWE-94
CVE-2025-46191Shared CWE-94
CVE-2026-31861Shared CWE-94
CVE-2024-34461Shared CWE-94
CVE-2024-31022Shared CWE-94

Affected Assets

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

References