CVE-2026-12252
published high CVSS 3.0 · 7.8Untrusted JAR Code Execution in Multiple Stanford Interface Classes in nltk/nltk
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk/nltkunspecified through latest | Affected | Not stated | @huntr_ai |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkaarch64 | Advisory build | 3.10.3-1.1 | OPENSUSE-SU-2026:11587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkppc64le | Advisory build | 3.10.3-1.1 | OPENSUSE-SU-2026:11587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltks390x | Advisory build | 3.10.3-1.1 | OPENSUSE-SU-2026:11587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkx86_64 | Advisory build | 3.10.3-1.1 | OPENSUSE-SU-2026:11587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkaarch64 | Advisory build | 3.10.3-1.1 | OPENSUSE-SU-2026:11587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkppc64le | Advisory build | 3.10.3-1.1 | OPENSUSE-SU-2026:11587-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltks390x | Advisory build | 3.10.3-1.1 | OPENSUSE-SU-2026:11587-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkx86_64 | Advisory build | 3.10.3-1.1 | OPENSUSE-SU-2026:11587-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk/nltk | unspecified through latest (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code
References
1Provider assertions
2@huntr_ai · cna
Untrusted JAR Code Execution in Multiple Stanford Interface Classes in nltk/nltk
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e5368e5f6c566bfe8a59e68713451ab4a028277a0a5dbf5adc2f3fdef1d9d74d
- Ingested
- 23 Sep 2026, 09:00:57 UTC
- Source record
- Official CVE record