Bug 2497246 - CVE-2026-12252 python-nltk: nltk: Arbitrary Code Execution via Untrusted JAR File Loading [epel-all]
Summary: CVE-2026-12252 python-nltk: nltk: Arbitrary Code Execution via Untrusted JAR ...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-nltk
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Romain Geissler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["e0dd35c1-aba9-4121-a3cc-1...
Depends On:
Blocks: CVE-2026-12252
TreeView+ depends on / blocked
 
Reported: 2026-07-06 08:45 UTC by Vipul Nair
Modified: 2026-07-06 08:45 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Vipul Nair 2026-07-06 08:45:09 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.

In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.


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