
CVE catalog
CVE-2026-71514
nltk: CVE-2026-71514
- Severity
- Low · CVSS 2.5
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.17% · Oct 25, 2026
NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader. _load_lang_ngrams joins the corpus root with crubadan_code, the column-0 value read from the corpus table.txt mapping file, and opens the result with the builtin open() rather than the pathsec-validated opener, so os.path.join discards the root when that value is absolute and the read escapes the corpus directory without the containment check nltk.pathsec applies when ENFORCE is set. An attacker who controls a corpus package can disclose file contents outside the corpus root through lang_freq, limited to paths ending in -3grams.txt whose contents parse as token count lines.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nltk | sid | 3.10.3-1 | fixed |
| Debian | nltk | forky | 3.10.3-1 | fixed |
| Debian | nltk | trixie | 3.9.1-2 | vulnerable |
| Debian | nltk | bookworm | 3.8-1 | vulnerable |
| Cpe | nltk | Not reported | Not reported | unknown |
| PyPI | nltk | Not reported | 3.10.3 | fixed |
| PyPI | nltk | Not reported | 3.10.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nltk | source | sid | 3.10.3-1 | not yet assigned | Not reported | Not reported |
| Debian | nltk | source | forky | 3.10.3-1 | not yet assigned | Not reported | Not reported |
| Debian | nltk | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | nltk | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| PyPI | nltk | PyPI | Not reported | 3.10.3 | Not reported | PYSEC-2026-3790 | Not reported |
| PyPI | nltk | PyPI | Not reported | 3.10.3 | Not reported | GHSA-CV22-G7MW-8V73 | Not reported |
Notes
[trixie] nltk: Minor issue [bookworm] nltk: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-nltk]Affected
Source package: [nltk]
Details (2)
3.8-1· all · bookwormAffected
dsa · nltk · debian · bookworm
3.8-1· all · bookwormAffected
dsa · nltk · debian · bookworm
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-71514]
- [https://osv.dev/vulnerability/CVE-2026-71514]
- [https://security-tracker.debian.org/tracker/CVE-2026-71514]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71514.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]