Security mailing lists by PureSourceCode

CVE-2026-0848

CRITICAL 10.0CVSS 3.0

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.

Published
5 Mar 2026
Last modified
17 Jun 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-20
Also known as
PYSEC-2026-99
Sources
NVDJSONOSV PYSEC-2026-99JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 CRITICAL 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV PyPA CVSS 3.0 CRITICAL 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nltk nltk
cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
<= 3.9.2
OSV PyPI nltk < 3.9.3 3.9.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Mar 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.