Bug 2510340 (CVE-2026-12259) - CVE-2026-12259 nltk: nltk: Installation of attacker-controlled packages due to improper checksum validation
Summary: CVE-2026-12259 nltk: nltk: Installation of attacker-controlled packages due t...
Keywords:
Status: NEW
Alias: CVE-2026-12259
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2511386 2511387
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-03 09:02 UTC by OSIDB Bzimport
Modified: 2026-08-19 07:07 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-03 09:02:48 UTC
In nltk version 3.9.4, the `nltk.downloader.Downloader._download_package()` function writes downloaded package bytes to disk and may extract them before enforcing SHA-256 or MD5 checksum validation. This allows an attacker to tamper with the package response body for `info.url` through a compromised mirror, malicious proxy, or other source-substitution condition, leading to the installation of attacker-controlled package bytes. The vulnerability can result in malicious corpus or model content being trusted by downstream users or applications.


Note You need to log in before you can comment on or make changes to this bug.