CVE catalog

CVE-2026-12252

In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulner

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.19% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannltksid3.10.3-1fixed
Debiannltkforky3.10.3-1fixed
Debiannltktrixie3.9.1-2vulnerable
Debiannltkbookworm3.8-1vulnerable
CpenltkNot reportedNot reportedvulnerable
CpenltkNot reportedNot reportedunknown
PipnltkNot reported3.9.4fixed
PyPInltkNot reported0.8vulnerable
PyPInltkNot reported0.9vulnerable
PyPInltkNot reported0.9.3vulnerable
PyPInltkNot reported0.9.4vulnerable
PyPInltkNot reported0.9.5vulnerable
PyPInltkNot reported0.9.6vulnerable
PyPInltkNot reported0.9.7vulnerable
PyPInltkNot reported0.9.8vulnerable
PyPInltkNot reported0.9.9vulnerable
PyPInltkNot reported2.0.1vulnerable
PyPInltkNot reported2.0.1rc1vulnerable
PyPInltkNot reported2.0.1rc2-gitvulnerable
PyPInltkNot reported2.0.1rc3vulnerable
PyPInltkNot reported2.0.1rc4vulnerable
PyPInltkNot reported2.0.2vulnerable
PyPInltkNot reported2.0.3vulnerable
PyPInltkNot reported2.0.4vulnerable
PyPInltkNot reported2.0.5vulnerable
PyPInltkNot reported2.0b4vulnerable
PyPInltkNot reported2.0b5vulnerable
PyPInltkNot reported2.0b6vulnerable
PyPInltkNot reported2.0b7vulnerable
PyPInltkNot reported2.0b8vulnerable
PyPInltkNot reported2.0b9vulnerable
PyPInltkNot reported3.0.0vulnerable
PyPInltkNot reported3.0.0b1vulnerable
PyPInltkNot reported3.0.0b2vulnerable
PyPInltkNot reported3.0.1vulnerable
PyPInltkNot reported3.0.2vulnerable
PyPInltkNot reported3.0.3vulnerable
PyPInltkNot reported3.0.4vulnerable
PyPInltkNot reported3.0.5vulnerable
PyPInltkNot reported3.1vulnerable
PyPInltkNot reported3.2vulnerable
PyPInltkNot reported3.2.1vulnerable
PyPInltkNot reported3.2.2vulnerable
PyPInltkNot reported3.2.3vulnerable
PyPInltkNot reported3.2.4vulnerable
PyPInltkNot reported3.2.5vulnerable
PyPInltkNot reported3.3vulnerable
PyPInltkNot reported3.4vulnerable
PyPInltkNot reported3.4.1vulnerable
PyPInltkNot reported3.4.2vulnerable
PyPInltkNot reported3.4.3vulnerable
PyPInltkNot reported3.4.4vulnerable
PyPInltkNot reported3.4.5vulnerable
PyPInltkNot reported3.5vulnerable
PyPInltkNot reported3.5b1vulnerable
PyPInltkNot reported3.6vulnerable
PyPInltkNot reported3.6.1vulnerable
PyPInltkNot reported3.6.2vulnerable
PyPInltkNot reported3.6.3vulnerable
PyPInltkNot reported3.6.4vulnerable
PyPInltkNot reported3.6.5vulnerable
PyPInltkNot reported3.6.6vulnerable
PyPInltkNot reported3.6.7vulnerable
PyPInltkNot reported3.7vulnerable
PyPInltkNot reported3.8vulnerable
PyPInltkNot reported3.8.1vulnerable
PyPInltkNot reported3.9vulnerable
PyPInltkNot reported3.9.1vulnerable
PyPInltkNot reported3.9.2vulnerable
PyPInltkNot reported3.9.3vulnerable
PyPInltkNot reported3.9b1vulnerable
PyPInltkNot reported3.9.4fixed
Opensusepython-nltktumbleweed3.10.3-1.1fixed
CpenltkNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannltksourcesid3.10.3-1not yet assignedNot reported[1143456]
Debiannltksourceforky3.10.3-1not yet assignedNot reported[1143456]
Debiannltksourcetrixie(unfixed)not yet assignedNot reported[1143456]
Debiannltksourcebookworm(unfixed)not yet assignedNot reported[1143456]
PipnltkpipNot reported3.9.4Not reportedGHSA-9R6G-266R-89X4Not reported
PyPInltkPyPINot reported3.9.4Not reportedPYSEC-2026-2085Not reported
Opensusepython-nltkrpmtumbleweed3.10.3-1.1Not reportedOPENSUSE-SU-2026:11587-1Not reported

[Debian bug #1143456]

Notes

[trixie] nltk: Minor issue [bookworm] nltk: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-nltk]Affected

    Source package: [nltk]

    Details (2)
    • 3.8-1 · all · bookworm

      Affected

      nvd · nltk · debian · bookworm; nvd · nltk · debian · 12

    • 3.8-1 · all · bookworm

      Affected

      nvd · nltk · debian · bookworm; nvd · nltk · debian · 12

[Debian 13 (Trixie)]

  • [python3-nltk]Affected

    Source package: [nltk]

    Details (2)
    • 3.9.1-2 · all · trixie

      Affected

      nvd · nltk · debian · 13

    • 3.9.1-2 · all · trixie

      Affected

      nvd · nltk · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-nltk]

    Details (1)
    • 3.10.3-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.10.3-1.1

      Version impact unknown

      nvd · python-nltk · opensuse · tumbleweed

  • Source package: [python-nltk]

    Details (1)
    • 3.10.3-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.10.3-1.1

      Version impact unknown

      nvd · python-nltk · opensuse · tumbleweed

Observed:

References