CVE-2026-0848
nltk: NLTK: Arbitrary code execution via unvalidated Java Archive (JAR) file loading
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según Red Hat. Más baja según Ubuntu (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| debian 11 | nltk | sin corrección indicada |
| debian 12 | nltk | sin corrección indicada |
| debian 13 | nltk | sin corrección indicada |
| debian 14 | nltk | 3.9.3-1 |
| echo | nltk | sin corrección indicada |
| rapidfort debian 12 | nltk | 0:3.9.3-1 |
| rapidfort debian 13 | nltk | 0:3.9.3-1 |
| ubuntu 18.04-ESM | nltk | 3.2.5-1ubuntu0.1+esm4 |
| ubuntu 20.04-ESM | nltk | 3.4.5-2ubuntu0.1~esm4 |
| ubuntu 22.04 | nltk | sin corrección indicada |
| ubuntu 24.04 | nltk | sin corrección indicada |
| ubuntu 26.04 | nltk | sin corrección indicada |
Mostrar las 13 entradas de 13 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| debian 11 | nltk | sin corrección indicada |
| debian 12 | nltk | sin corrección indicada |
| debian 13 | nltk | sin corrección indicada |
| debian 14 | nltk | 3.9.3-1 |
| echo | nltk | sin corrección indicada |
| rapidfort debian 12 | nltk | 0:3.9.3-1 |
| rapidfort debian 13 | nltk | 0:3.9.3-1 |
| ubuntu 18.04-ESM | nltk | 3.2.5-1ubuntu0.1+esm4 |
| ubuntu 20.04-ESM | nltk | 3.4.5-2ubuntu0.1~esm4 |
| ubuntu 22.04 | nltk | sin corrección indicada |
| ubuntu 24.04 | nltk | sin corrección indicada |
| ubuntu 26.04 | nltk | sin corrección indicada |
| ubuntu 26.10 | nltk | sin corrección indicada |
Referencias
- https://access.redhat.com/security/cve/CVE-2026-0848
- https://github.com/nltk/nltk/commit/27fab63c5b7689a125feb282958f630ced3a4f77
- https://github.com/nltk/nltk/pull/3477
- https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202
- https://nvd.nist.gov/vuln/detail/CVE-2026-0848
- https://ubuntu.com/security/notices/USN-8302-1
- https://www.cve.org/CVERecord?id=CVE-2026-0848