Bug 2512477 - CVE-2026-12261 python-nltk: NLTK: Resource poisoning via improper package archive extraction [fedora-all]
Summary: CVE-2026-12261 python-nltk: NLTK: Resource poisoning via improper package arc...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nltk
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: José Matos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["781da8bb-c9a7-42dc-b23c-5...
Depends On:
Blocks: CVE-2026-12261
TreeView+ depends on / blocked
 
Reported: 2026-08-07 11:33 UTC by Marian Rehak
Modified: 2026-08-17 15:49 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Marian Rehak 2026-08-07 11:33:37 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A vulnerability in `nltk.downloader` in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archives into shared namespaces such as `corpora/` and `taggers/` instead of package-isolated roots, and validates package integrity only after the archive has been written and extracted. This design flaw enables one package to overwrite another package's trusted resources within the same namespace, making the changes immediately active through ordinary NLTK APIs. This issue persists across fresh interpreter restarts and can affect downstream workflows, including machine learning pipelines and reproducibility-sensitive environments.

Comment 1 Aoife Moloney 2026-08-17 15:49:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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