CVSS 4.0
8.5 highCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NHigh (8.5) in nltk nltk. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in nltk 3.9.3.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hnltk (PyPI): fixed in 3.9.3Explain CVE-2025-71408 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-71408?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-71408?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-2025-71408 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 |
|---|---|
| ntlk | before 3.9.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-848c-c2cx-j7qx | PyPI | nltk | <3.9.3 | 3.9.3 |
| PYSEC-2026-3657 | PyPI | nltk | <3.9.3 | 3.9.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | nltk | no fix listed | DEBIAN-CVE-2025-71408 |
| Debian | 14 | nltk | 3.9.3-1 | DEBIAN-CVE-2025-71408 |
| Ubuntu | Pro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 4 more | nltk | no fix listed | UBUNTU-CVE-2025-71408 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
Conditions for Exploitation: Successful exploitation requires a highly specific and atypical execution scenario. An attacker must have direct control over command-line arguments, and the host environment must execute the module's internal script directly rather than importing NLTK as a standard programming library.
Usage Patterns and Likelihood: In standard deployments, NLTK is integrated into parent Python applications as an imported programming library rather than being run as a standalone command-line utility. Direct invocation of internal library scripts with untrusted command-line arguments is a highly uncommon and non-recommended deployment configuration, which significantly reduces the real-world likelihood of exploitation.
Affected Versions: This vulnerability affects NLTK versions prior to 3.9.3
To mitigate this vulnerability, avoid directly invoking the `nltk.collocations` module's internal script (`collocations.py`) with untrusted command-line arguments. In standard Red Hat deployments, NLTK is typically used as an imported library, which does not expose this vulnerability. If direct invocation is necessary, ensure that all command-line arguments are from trusted sources and are properly validated.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift AI 3.3 | rhoai/odh-llama-stack-core-rhel9:1789121286 | Fixed 2026-09-30 | RHSA-2026:73987 |
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Will not fix | |
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | Not affected | |
| Lightspeed Core | lightspeed-core/rag-tool-cpu-rhel9 | Not affected | |
| Lightspeed Core | lightspeed-core/rag-tool-cuda-12.9-rhel9 | Not affected | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-ocp-rag-rhel9 | Not affected | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Not 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 | Will not fix | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ogx-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 | 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-2025-71408.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.