DEBIAN-CVE-2026-71514

Source
https://security-tracker.debian.org/tracker/CVE-2026-71514
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-71514.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-71514
Upstream
Published
2026-08-22T14:16:33Z
Modified
2026-09-14T17:03:23Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / nltk

Package

Name
nltk
Purl
pkg:deb/debian/nltk?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.8-1
3.8.1-1
3.9.1-1
3.9.1-2
3.9.2-1
3.9.3-1
3.10.0-1
3.10.1-1
3.10.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-71514.json"

Debian:13 / nltk

Package

Name
nltk
Purl
pkg:deb/debian/nltk?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.9.1-2
3.9.2-1
3.9.3-1
3.10.0-1
3.10.1-1
3.10.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-71514.json"

Debian:14 / nltk

Package

Name
nltk
Purl
pkg:deb/debian/nltk?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.10.3-1

Affected versions

3.*
3.9.1-2
3.9.2-1
3.9.3-1
3.10.0-1
3.10.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-71514.json"