Description
NLTK before 3.9.3 fails to verify file integrity after downloading packages and before extraction in the downloader module. Attackers can perform man-in-the-middle attacks or DNS poisoning to inject malicious package contents that are extracted without validation.
Published: 2026-08-22
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

NLTK before version 3.9.3 does not verify the integrity of packages after download but before extraction. This omission allows an attacker who can perform a man‑in‑the‑middle or DNS poisoning attack to supply a malicious package, which will be extracted by the downloader module with no checks. The attacker can then execute arbitrary code in the context of the user running NLTK. This flaw is a classic integrity‑verification weakness (CWE‑494) and can lead to remote code execution, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

The vulnerability affects the NLTK library from Natural Language Toolkit before version 3.9.3. Any installation of NLTK that relies on the downloader module and pulls packages from the network is at risk; this includes Python environments that import nltk and use the download function.

Risk and Exploitability

The CVSS score of 9.3 indicates a high severity vulnerability. The EPSS score is not available, but the lack of post‑download verification means that exploitation is feasible as long as an attacker can influence the package download path. The flaw is not currently listed in the CISA KEV catalog, which suggests no known widespread active exploitation yet, but the typical attack vector is network‑based MITM or DNS spoofing targeting the downloader component. Systems that automatically download NLTK packages from external repositories without additional validation are particularly vulnerable.

Generated by OpenCVE AI on August 22, 2026 at 15:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade NLTK to version 3.9.3 or newer.
  • If upgrade is not feasible, disable or limit the downloader’s automatic package downloads and use pre‑verified local packages.
  • Manually verify the integrity of any downloaded package or use a checksum tool before extraction.

Generated by OpenCVE AI on August 22, 2026 at 15:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Description NLTK before 3.9.3 fails to verify file integrity after downloading packages and before extraction in the downloader module. Attackers can perform man-in-the-middle attacks or DNS poisoning to inject malicious package contents that are extracted without validation.
Title NLTK before 3.9.3 Missing Post-Download Integrity Verification
First Time appeared Nltk
Nltk nltk
Weaknesses CWE-494
CPEs cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
Vendors & Products Nltk
Nltk nltk
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-22T14:12:39.360Z

Reserved: 2026-07-16T12:13:18.733Z

Link: CVE-2026-63310

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T15:16:19.100

Modified: 2026-08-22T15:16:19.100

Link: CVE-2026-63310

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T15:30:05Z

Weaknesses
  • CWE-494

    Download of Code Without Integrity Check