Vulnerabilidades / CVE-2026-0848

crítica

CVE-2026-0848

nltk: NLTK: Arbitrary code execution via unvalidated Java Archive (JAR) file loading

Publicada Modificada CWE 20
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

Red Hat10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

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

FuentePaqueteCorregido en
debian 11nltksin corrección indicada
debian 12nltksin corrección indicada
debian 13nltksin corrección indicada
debian 14nltk3.9.3-1
echonltksin corrección indicada
rapidfort debian 12nltk0:3.9.3-1
rapidfort debian 13nltk0:3.9.3-1
ubuntu 18.04-ESMnltk3.2.5-1ubuntu0.1+esm4
ubuntu 20.04-ESMnltk3.4.5-2ubuntu0.1~esm4
ubuntu 22.04nltksin corrección indicada
ubuntu 24.04nltksin corrección indicada
ubuntu 26.04nltksin corrección indicada
Mostrar las 13 entradas de 13 fuentes
FuentePaqueteCorregido en
debian 11nltksin corrección indicada
debian 12nltksin corrección indicada
debian 13nltksin corrección indicada
debian 14nltk3.9.3-1
echonltksin corrección indicada
rapidfort debian 12nltk0:3.9.3-1
rapidfort debian 13nltk0:3.9.3-1
ubuntu 18.04-ESMnltk3.2.5-1ubuntu0.1+esm4
ubuntu 20.04-ESMnltk3.4.5-2ubuntu0.1~esm4
ubuntu 22.04nltksin corrección indicada
ubuntu 24.04nltksin corrección indicada
ubuntu 26.04nltksin corrección indicada
ubuntu 26.10nltksin corrección indicada

Referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.