CVE-2026-0848
CVE-2026-0848 is a critical-severity vulnerability in Nltk with a CVSS 3.x base score of 10.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: Critical (CVSS 3.x base score 10.0)
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-9875
- Weakness: CWE-20
- Affected product: Nltk
- Published:
- Last modified:
Description
NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.
Frequently asked questions
- What is CVE-2026-0848?
- NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.
- How severe is CVE-2026-0848?
- CVE-2026-0848 has a CVSS 3.x base score of 10.0, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-0848 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-0848?
- CVE-2026-0848 affects Nltk. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-0848?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-0848 have an EU (EUVD) identifier?
- Yes. CVE-2026-0848 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-9875.
- When was CVE-2026-0848 published?
- CVE-2026-0848 was published on 2026-03-05 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
More vulnerabilities in Nltk
- CVE-2025-14009 — High (CVSS 8.8): A critical vulnerability exists in the NLTK downloader component of nltk/nltk, affecting all versions. The _unzip_iter…
- CVE-2026-33236 — High (CVSS 8.1): NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research…
- CVE-2025-71408 — High (CVSS 7.8): NLTK (Natural Language Toolkit) before version 3.9.3 contains an eval injection vulnerability in the nltk.collocations…
- CVE-2026-12252 — High (CVSS 7.8): In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger,…
- CVE-2026-54293 — High (CVSS 7.5): NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research…
- CVE-2026-33231 — High (CVSS 7.5): NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research…
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48056 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download video content. Versions prior to 2.5.0…
- CVE-2026-33267 — Critical (CVSS 10.0): Improper Input Validation vulnerability in Apache Traffic Server. This issue affects Apache Traffic Server: from 9.2.0…
- CVE-2026-47668 — Critical (CVSS 10.0): DbGate is cross-platform database manager. In versions 7.1.8 and prior, DbGate's JSON script runner (`POST…
- CVE-2026-16117 — Critical (CVSS 10.0): Impact: @fastify/http-proxy versions up to and including 11.5.0 fail to rewrite the request prefix when the prefix…
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →