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

CVE-2026-129221
MEDIUM 5.4

At a glance

Source
NVD
EPSS
EPSS 0.44 % Β· percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
Affected products
nltk Β· nltk
NVD status
Awaiting Analysis

Description

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.

Weaknesses (CWE)

  • CWE-74 β€” Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LGitHub_M
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LNVD Β· security-advisories@github.com (Secondary)

Advisories

European references

Affected products

ProductAffected versions
nltk Β· nltk
affected : < 3.10.4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD