CVSS 3.0
7.8 highCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.8) in nltk nltk. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in nltk 3.9.4.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hnltk (PyPI): fixed in 3.9.4Explain CVE-2026-12252 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-12252?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-12252?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-12252 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| nltk/nltk | through latest |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-9r6g-266r-89x4 | PyPI | nltk | <3.9.4 | 3.9.4 |
| PYSEC-2026-2085 | PyPI | nltk | <3.9.4 | 3.9.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | nltk | no fix listed | DEBIAN-CVE-2026-12252 |
| Debian | 14 | nltk | 3.10.3-1 | DEBIAN-CVE-2026-12252 |
| Ubuntu | 25.10, 26.10, Pro:14.04:LTS and 6 more | nltk | no fix listed | UBUNTU-CVE-2026-12252 |
| openSUSE | Tumbleweed | python-nltk | 3.10.3-1.1 | openSUSE-SU-2026:11587-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Important.
To mitigate this issue, users should ensure that only trusted Java Archive (JAR) files are processed by the `nltk` Stanford interface classes. Avoid loading JAR files from untrusted sources, as this vulnerability allows for arbitrary code execution. Implement strict input validation and source verification for any JAR files used with `nltk` to prevent the execution of malicious code.
| Product | Package | State | Advisory |
|---|---|---|---|
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Not affected | |
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | Not affected | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-ocp-rag-rhel9 | Not affected | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Affected | |
| OpenShift Lightspeed | openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-chatbot-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llama-stack-core-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ta-lmes-job-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-trustyai-nemo-guardrails-server-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-12252.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.