Skip to content
OpenAdvisories
Unscored USN-8302-1 0 CVEs

nltk vulnerabilities

Published May 25, 2026 · Updated Jun 30, 2026

Summary

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)

Fixed packages 7

ReleasePackageFixed in
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS nltk 2.0~b9-0ubuntu4.1~esm6
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS nltk 3.1-1ubuntu0.1+esm4
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS nltk 3.2.5-1ubuntu0.1+esm4
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS nltk 3.4.5-2ubuntu0.1~esm4
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS nltk 3.7-1ubuntu0.1~esm2
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS nltk 3.8.1-1ubuntu0.1~esm2
Ubuntu · Pro 26.04 LTS Pro:26.04:LTS nltk 3.9.2-1ubuntu0.1~esm2

References

  • report
    https://ubuntu.com/security/CVE-2026-0846
  • report
    https://ubuntu.com/security/CVE-2026-0847
  • report
    https://ubuntu.com/security/CVE-2026-0848
  • report
    https://ubuntu.com/security/CVE-2026-33230
  • report
    https://ubuntu.com/security/CVE-2026-33231
  • report
    https://ubuntu.com/security/CVE-2026-33236