USN-8302-1

Type: Security
Severity: Medium
Published: 2026-05-25
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)

It was discovered that NLTK incorrectly validated file paths when opening files using the nltk.util module. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-0846) It was discovered that NLTK incorrectly validated file paths in multiple CorpusReader classes. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-0847) It was discovered that NLTK did not properly validate external Java archive files loaded by StanfordSegmenter. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-0848) It was discovered that NLTK's WordNet browser application incorrectly handled user-supplied input. An attacker could possibly use this issue to perform a cross-site scripting attack. (CVE-2026-33230) It was discovered that NLTK's WordNet browser application did not restrict access to the shutdown endpoint. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2026-33231) It was discovered that NLTK's downloader did not validate path attributes in remote XML index files. An attacker could possibly use this issue to create or overwrite arbitrary files. (CVE-2026-33236) Update Instructions: Run `sudo pro fix USN-8302-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python3-nltk - 3.8.1-1ubuntu0.1~esm2 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 24.04 LTS (Noble Numbat)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2026-05-26T10:09:10.244Z UTC.

Upstream Advisory

Affected Packages

  • python3-nltk 3.8.1-1ubuntu0.1~esm2-3.8.1-1ubuntu0.1~esm2

  • python3-nltk 3.9.2-1ubuntu0.1~esm2-3.9.2-1ubuntu0.1~esm2

  • python3-nltk 3.4.5-2ubuntu0.1~esm4-3.4.5-2ubuntu0.1~esm4

  • python3-nltk 3.7-1ubuntu0.1~esm2-3.7-1ubuntu0.1~esm2

Interested in being alerted when there are new versions of python3-nltk and the other packages? Set up an alert.
USN-8302-1: NLTK vulnerabilities | Package Alert