Source: nltk X-Debbugs-CC: [email protected] Severity: important Tags: security
Hi, The following vulnerabilities were published for nltk. CVE-2026-126295[0]: | NLTK from 3.10.0 before 3.10.4 contains an arbitrary file read | vulnerability in BllipParser that allows attackers to open files | outside NLTK data roots by supplying unvalidated model paths. | Attackers controlling parser_model, reranker_features, | reranker_weights, or from_unified_model_dir() input can make the | bllipparser C extension read sensitive files or block on FIFOs and | devices. https://github.com/nltk/nltk/security/advisories/GHSA-fg9w-wfp5-j933 CVE-2026-126296[1]: | NLTK before 3.10.4 contains a path traversal vulnerability in | save_maxent_params() and load_maxent_params() that bypasses the | pathsec filesystem restriction mechanism. Attackers who control the | tab_dir argument can read or overwrite model parameter files outside | permitted data roots, because the functions call Python's built-in | open() directly. https://github.com/nltk/nltk/security/advisories/GHSA-59f9-gqg8-mqpj CVE-2026-126297[2]: | NLTK before 3.10.4 contains a quadratic-time denial of service | vulnerability in ConllCorpusReader._get_srl_instances that allows | remote attackers to exhaust CPU through nested span rescans. | Attackers can supply a crafted CoNLL SRL corpus with many predicates | and span columns, placing the head span last, to pin a core for | minutes. https://github.com/nltk/nltk/security/advisories/GHSA-v8f3-6phw-6mh9 CVE-2026-126298[3]: | NLTK before 3.10.4 contains a denial of service vulnerability in | Tree.chomsky_normal_form that allows remote attackers to exhaust CPU | through quadratic-time right-factor binarization using list.pop(0). | Attackers can supply a wide flat treebank tree parsed by | Tree.fromstring to force tens of seconds of single-threaded CPU | consumption, blocking the processing thread. https://github.com/nltk/nltk/security/advisories/GHSA-r53h-rw34-8h97 CVE-2026-126299[4]: | NLTK before 3.10.4 contains a denial of service vulnerability in the | CCG lexicon parser fromstring that allows remote attackers to | exhaust CPU by supplying wide inputs. Attackers can submit lexicon | text with long flat bracket bodies or operator chains, triggering | quadratic string re-slicing in matchBrackets and augParseCategory | that blocks worker threads. https://github.com/nltk/nltk/security/advisories/GHSA-89p3-fcch-88ph CVE-2026-126300[5]: | NLTK from 3.2.5 before 3.10.4 contains an algorithmic complexity | vulnerability in TreebankWordTokenizer.span_tokenize that allows | remote attackers to cause quadratic CPU consumption through repeated | list.pop(0) calls. Attackers can submit long runs of double-quote | characters to services span-tokenizing untrusted text, exhausting a | CPU core and degrading availability. https://github.com/nltk/nltk/security/advisories/GHSA-ffr9-mgrr-wcvr CVE-2026-126301 https://github.com/nltk/nltk/security/advisories/GHSA-gpwc-27cw-rh9r CVE-2026-126302[6]: https://github.com/nltk/nltk/security/advisories/GHSA-xmfg-f9cm-w86q CVE-2026-126303[7]: | NLTK before 3.10.4 contains an uncontrolled resource consumption | vulnerability in SteppingRecursiveDescentParser.parse() that lacks | any max_time deadline or step limit. Attackers influencing the | grammar can supply an ambiguous self-embedding grammar and short | token input to force unbounded top-down search, pinning CPU cores | and exhausting worker pools. https://github.com/nltk/nltk/security/advisories/GHSA-8fx7-8jr8-84rv CVE-2026-126304[8]: | NLTK from 3.10.0 before 3.10.4 contains a symlink escape | vulnerability in YCOECorpusReader that allows attackers to read | files outside the corpus root by planting psd or pos directory | symlinks. Attackers controlling a YCOE corpus can make | parsed_sents() and tagged_words() return file content from other | corpora or temporary files within the NLTK data sandbox. https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-126295 https://www.cve.org/CVERecord?id=CVE-2026-126295 [1] https://security-tracker.debian.org/tracker/CVE-2026-126296 https://www.cve.org/CVERecord?id=CVE-2026-126296 [2] https://security-tracker.debian.org/tracker/CVE-2026-126297 https://www.cve.org/CVERecord?id=CVE-2026-126297 [3] https://security-tracker.debian.org/tracker/CVE-2026-126298 https://www.cve.org/CVERecord?id=CVE-2026-126298 [4] https://security-tracker.debian.org/tracker/CVE-2026-126299 https://www.cve.org/CVERecord?id=CVE-2026-126299 [5] https://security-tracker.debian.org/tracker/CVE-2026-126300 https://www.cve.org/CVERecord?id=CVE-2026-126300 [6] https://security-tracker.debian.org/tracker/CVE-2026-126301CVE-2026-126302 https://www.cve.org/CVERecord?id=CVE-2026-126301CVE-2026-126302 [7] https://security-tracker.debian.org/tracker/CVE-2026-126303 https://www.cve.org/CVERecord?id=CVE-2026-126303 [8] https://security-tracker.debian.org/tracker/CVE-2026-126304 https://www.cve.org/CVERecord?id=CVE-2026-126304 Please adjust the affected versions in the BTS as needed.

