ADVISORIES

Vulnerability

CVE-2026-129221

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, nltk.classify.weka.ARFF_Formatter writes attacker-controlled class labels into the Weka ARFF @ATTRIBUTE '-label-' declaration without safely formatting the label tokens. Crafted labels can alter the generated ARFF schema or records, corrupting classifier input and causing integrity loss or processing failure. This issue is fixed in version 3.10.4.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1PyPI 1Ubuntu 1

Advisories in PyPI

  • GHSA-9ffx-rrgx-mhgx

    NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels

    Moderate CVE-2026-129221 PyPI Updated 20 November 2026

References