🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Moritz Mühlenhoff Sun, 22 Nov 2026 22:10
Bug#1154901: nltk: CVE-2026-128135 CVE-2026-128136 CVE-2026-128137 CVE-2026-128138 CVE-2026-128139 CVE-2026-128140 CVE-2026-1292...
#5618
Author: Moritz Mühlenhoff
Date: Sun, 22 Nov 2026 22:10
373 lines
21991 bytes
Source: nltk
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security

Hi,

The following vulnerabilities were published for nltk.

CVE-2026-128135[0]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. From 3.9.4 to 3.10.3,
| NLTK ZIP package extraction can write through an existing in-root
| hardlink whose other link points outside the NLTK data root. A local
| attacker who can prepare the extraction target can cause a package
| member write to overwrite an out-of-root file, violating the pathsec
| containment boundary and affecting integrity and availability. This
| issues is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh
https://github.com/nltk/nltk/pull/3753
https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0 (v3.10.4-rc1)
https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78 (v3.10.4-rc1)

CVE-2026-128136[1]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. From 3.10.0 until
| 3.10.4, allowlisted_pickle_load keys dangerous NumPy globals by
| export name, allowing submodule-local numpy.lib file input/output
| callables to evade the denylist under the broad module allowance
| used by TransitionParser. A crafted pickle can invoke recfromtxt to
| read a local file or open_memmap to create or truncate an attacker-
| selected file when a victim loads an untrusted model. This issue is
| fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-c59x-vh6j-3w8v
https://github.com/nltk/nltk/pull/3757
https://github.com/nltk/nltk/commit/a44a7af69bca87e92d9c4a701fcbbe4512e8d450 (v3.10.4-rc1)

CVE-2026-128137[2]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. From 3.9.4 until 3.10.4,
| NLTK corpus-reader path pointers and view methods validate a
| requested relative path without consistently resolving intermediate
| directory symlinks against the reader's scoped root. A local
| attacker who can place such a symlink can make abspaths or words
| reach a readable file outside the corpus root and disclose its
| contents. On releases with pathsec enforcement, the file must remain
| inside a global NLTK allowed root; version 3.9.4 has enforcement
| disabled and permits a broader escape. This issue is fixed in
| version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-g58v-j9g9-5gfg
https://github.com/nltk/nltk/pull/3761
https://github.com/nltk/nltk/commit/9f7cf06b4af4ca5c65381ed0abc17e989dc54400 (v3.10.4-rc1)

CVE-2026-128138[3]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. From 3.10.3 until
| 3.10.4, the NLTK 3.10.3 JVM hardening validates Java launcher tokens
| in the options channel but appends the caller-controlled cmd
| sequence without requiring its first token to be a main class.
| Supplying -jar or an @argfile through nltk.internals.java or
| StanfordSegmenter.java_class can therefore execute attacker-selected
| Java bytecode without the unsafe-JAR opt-in. This issue is fixed in
| version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-x8q7-6c7m-52gw
https://github.com/nltk/nltk/pull/3771
https://github.com/nltk/nltk/commit/b36212795a522d2b7b176cf0e0d9d8da489ba6e6 (v3.10.4-rc1)

CVE-2026-128139[4]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. From 3.6 to 3.10.3,
| XMLCorpusView._read_xml_fragment accumulates 1 KiB blocks and
| repeatedly applies whole-buffer XML validation while a comment or
| CDATA terminator remains ahead. A large comment in an attacker-
| controlled corpus file causes quadratic CPU consumption through
| documented XML corpus readers across the affected range. On 3.6 and
| 3.9.2, a large CDATA section incurs the quadratic scan before
| rejection, while on 3.10.3 both comment and CDATA documents are read
| successfully. This vulnerability is fixed in 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-j8g8-j4j7-8j54
https://github.com/nltk/nltk/commit/9cacbb95d97eaac7debb30d6e7decbe74d2c635f (v3.10.4-rc1)

CVE-2026-128140[5]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. From 3.6.7 until 3.10.4,
| nltk.downloader follows collection membership without tracking
| already visited collection nodes. A self-referencing or mutually
| referencing collection index can therefore make the package-closure
| walk loop indefinitely while its queue and memory usage grow,
| denying service when a victim processes the attacker-influenced
| index. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-pcm8-fqjx-rvx8
https://github.com/nltk/nltk/pull/3767
https://github.com/nltk/nltk/commit/b77d329db934711e053520588b22b4ac73539fa2 (v3.10.4-rc1)

CVE-2026-129221[6]:
| 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.

https://github.com/nltk/nltk/security/advisories/GHSA-9ffx-rrgx-mhgx
https://github.com/nltk/nltk/pull/3768
https://github.com/nltk/nltk/commit/56031eabc1ac6e5a109cb78bb18d10e0b7589594 (v3.10.4-rc1)

CVE-2026-129222[7]:
| 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,
| DependencyGraph.tree and DependencyGraph.triples walk parsed
| dependency edges through unbounded Python recursion and do not use a
| working cycle or depth guard. A crafted CoNLL or Malt-TAB dependency
| file containing a sufficiently long chain can raise RecursionError
| when the documented traversal APIs are called, aborting the current
| worker. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-rh8m-wqhc-qmrf
https://github.com/nltk/nltk/pull/3885
https://github.com/nltk/nltk/commit/a74682757cee8c11128ad277d2f2bd0b8e1884ff (v3.10.4-rc1)

CVE-2026-129223[8]:
| 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, WordNet
| Synset.tree and acyclic_tree traverse relation graphs through
| recursive utility helpers without a depth bound. Exploitation
| requires the host application to load an attacker-influenced custom
| or foreign WordNet-format lexical resource; no relation in NLTK's
| bundled WordNet 3.0 corpus reaches the crash threshold. An
| excessively deep relation graph in such a resource can exceed the
| Python recursion limit and terminate the traversal or request
| worker. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-8846-p9w9-5frf
https://github.com/nltk/nltk/commit/0e474a7d73c95b42aa2c792f364e4f9bf4096c56 (v3.10.4-rc1)

CVE-2026-129224[9]:
| 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, the CCG
| lexicon parser's matchBrackets and augParseCategory functions
| recursively process nested parenthesized categories without a depth
| bound. An attacker-controlled lexicon string with excessive nesting
| can raise RecursionError through nltk.ccg.lexicon.fromstring and
| terminate the parse operation or request worker. This issue is fixed
| in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-3h95-x772-4765
https://github.com/nltk/nltk/pull/3885
https://github.com/nltk/nltk/commit/30e93eb7b69021293e019042fe0cedb99c95b054 (v3.10.4-rc1)

CVE-2026-129225[10]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. In 3.10.3 and earlier,
| DependencyGraph._tree and triples recurse once per dependency edge
| without a depth bound, and get_cycle_path also lacks a visited-set
| termination guard. A deeply chained or cyclic attacker-controlled
| CoNLL or Malt-TAB dependency structure can raise RecursionError and
| abort a parse worker. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-xfcv-m889-fmqg
https://github.com/nltk/nltk/pull/3885
https://github.com/nltk/nltk/commit/a74682757cee8c11128ad277d2f2bd0b8e1884ff (v3.10.4-rc1)

CVE-2026-129226[11]:
| 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, the
| semantic-logic read_type parser recursively processes both halves of
| nested complex type strings without applying
| LogicParser.MAX_PARSE_DEPTH. An attacker-controlled type string or
| signature with excessive nesting can raise RecursionError through
| Type.fromstring or type-checking entry points and abort the current
| worker. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-w3pv-xfw4-ghr7
https://github.com/nltk/nltk/pull/3885
https://github.com/nltk/nltk/commit/2f4f0d47e2c452c89cabc2a5f761332d51066ea8 (v3.10.4-rc1)
https://github.com/nltk/nltk/commit/a8036c5e7f820ac09c96b969d6e7f19bfa6e6aeb (v3.10.4-rc1)

CVE-2026-129227[12]:
| 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,
| Tree.fromlist recursively converts nested Python list input into
| Tree objects without enforcing a maximum tree depth. An attacker-
| controlled list nested beyond the interpreter recursion limit can
| raise RecursionError and terminate the current parse operation or
| request worker. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-63wh-5r5m-wxr7
https://github.com/nltk/nltk/pull/3885
https://github.com/nltk/nltk/commit/ae4c5c900a81608026a43bd4ed17ff048c447c8c (v3.10.4-rc1)

CVE-2026-129228[13]:
| 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,
| ToolboxSettings.parse builds a deeply nested attacker-controlled
| settings tree iteratively, but the later public helpers
| to_settings_string, remove_blanks, add_default_fields, sort_fields,
| and add_blank_lines recursively traverse that tree without a depth
| bound. Invoking any of those helpers on input nested beyond the
| interpreter recursion limit can raise RecursionError and abort the
| operation or request worker. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-f2h2-f4fc-p978
https://github.com/nltk/nltk/pull/3885
https://github.com/nltk/nltk/commit/0b6975377d0334af604d32c9d83b26b46e1d437c (v3.10.4-rc1)

CVE-2026-129229[14]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. From 3.10.0 until
| 3.10.4, TokenSearcher.findall and Text.findall accept caller-
| controlled regular expressions with an unbounded number of capturing
| groups throughout the affected range. Starting in 3.10.3,
| nltk.redos.compile and RegexpTokenizer expose the same compile-time
| vector. The third-party regex engine compiles group-dense patterns
| with roughly quadratic cost before the match-time timeout begins,
| allowing a small unauthenticated request to exhaust CPU and deny
| service. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-32p6-cwhc-8r78
https://github.com/nltk/nltk/pull/3895
https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412 (v3.10.4-rc1)

CVE-2026-129230[15]:
| 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, WordNet
| Synset.max_depth, min_depth, hypernym_paths, and hypernym_distances
| recursively follow attacker-controlled corpus pointers without a
| visited-node set or depth cap. A cyclic or excessively deep hypernym
| graph can raise RecursionError and terminate traversal APIs and
| similarity operations that depend on them. This issue is fixed in
| version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-53pg-5qp8-mhvr
https://github.com/nltk/nltk/pull/3895
https://github.com/nltk/nltk/commit/34adf1ee425b5c817d2a88c674bac68672e3ab26 (v3.10.4-rc1)

CVE-2026-129231[16]:
| 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,
| SeekableUnicodeStreamReader.readline appends each new block to a
| growing character buffer and reruns splitlines over the entire
| buffer on every iteration. An attacker-controlled corpus file
| containing one very long unterminated line therefore causes
| quadratic CPU consumption in line-oriented corpus readers and can
| deny service. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-q4c8-9gwf-255x
https://github.com/nltk/nltk/pull/3895
https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412 (v3.10.4-rc1)

CVE-2026-129232[17]:
| 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,
| XMLCorpusView.read_block rebuilds the full root-to-node context path
| with "/".join(context) for every start tag while searching for a
| matching element. Deeply nested attacker-influenced corpus XML
| therefore causes quadratic pure-Python work and can pin a processing
| worker, resulting in denial of service. This issue is fixed in
| version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-cj8f-5fp3-6m88
https://github.com/nltk/nltk/pull/3895
https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412 (v3.10.4-rc1)

CVE-2026-129233[18]:
| NLTK (Natural Language Toolkit) is a suite of open source Python
| modules, data sets, and tutorials supporting research and
| development in Natural Language Processing. From 3.10.0 until
| 3.10.4, StreamBackedCorpusView performs os.stat on a caller-supplied
| plain string path during construction before pathsec containment is
| enforced. The PathPointer branch used by in-tree corpus readers is
| validated, so exploitation requires application code to pass an
| attacker-influenced string directly to the public constructor. That
| string can identify an out-of-root path and disclose its existence,
| size, and modification time even though opening the file would be
| rejected. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-w674-vqhw-g3pg
https://github.com/nltk/nltk/pull/3888
https://github.com/nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3 (v3.10.4-rc1)
https://github.com/nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa (v3.10.4-rc1)

CVE-2026-129234[19]:
| 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,
| Prover9Parent.config_prover9 and Mace accept a relative
| binary_location and pass it to find_binary as path_to_bin, disabling
| the bare-name absolute-path guard. A local attacker who can plant
| prover9 or mace4 in the resolved working directory can cause
| subprocess.Popen to execute that binary with the invoking user's
| privileges. This issue is fixed in version 3.10.4.

https://github.com/nltk/nltk/security/advisories/GHSA-cc5r-64rf-75hg
https://github.com/nltk/nltk/pull/3887
https://github.com/nltk/nltk/commit/4ca190b744ec72500c4c8a8259aece7792a46877 (v3.10.4-rc1)
https://github.com/nltk/nltk/commit/992884a02f6fb5180a992ed12d20103b4b5cb8a0 (v3.10.4-rc1)
https://github.com/nltk/nltk/commit/d4f0309bb8649f77e88c2c435e5fa31e6c5ab225 (v3.10.4-rc1)
https://github.com/nltk/nltk/commit/f0a75c66506977c0f683281c0f5275dbfbaee3b2 (v3.10.4-rc1)


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-128135
    https://www.cve.org/CVERecord?id=CVE-2026-128135
[1] https://security-tracker.debian.org/tracker/CVE-2026-128136
    https://www.cve.org/CVERecord?id=CVE-2026-128136
[2] https://security-tracker.debian.org/tracker/CVE-2026-128137
    https://www.cve.org/CVERecord?id=CVE-2026-128137
[3] https://security-tracker.debian.org/tracker/CVE-2026-128138
    https://www.cve.org/CVERecord?id=CVE-2026-128138
[4] https://security-tracker.debian.org/tracker/CVE-2026-128139
    https://www.cve.org/CVERecord?id=CVE-2026-128139
[5] https://security-tracker.debian.org/tracker/CVE-2026-128140
    https://www.cve.org/CVERecord?id=CVE-2026-128140
[6] https://security-tracker.debian.org/tracker/CVE-2026-129221
    https://www.cve.org/CVERecord?id=CVE-2026-129221
[7] https://security-tracker.debian.org/tracker/CVE-2026-129222
    https://www.cve.org/CVERecord?id=CVE-2026-129222
[8] https://security-tracker.debian.org/tracker/CVE-2026-129223
    https://www.cve.org/CVERecord?id=CVE-2026-129223
[9] https://security-tracker.debian.org/tracker/CVE-2026-129224
    https://www.cve.org/CVERecord?id=CVE-2026-129224
[10] https://security-tracker.debian.org/tracker/CVE-2026-129225
    https://www.cve.org/CVERecord?id=CVE-2026-129225
[11] https://security-tracker.debian.org/tracker/CVE-2026-129226
    https://www.cve.org/CVERecord?id=CVE-2026-129226
[12] https://security-tracker.debian.org/tracker/CVE-2026-129227
    https://www.cve.org/CVERecord?id=CVE-2026-129227
[13] https://security-tracker.debian.org/tracker/CVE-2026-129228
    https://www.cve.org/CVERecord?id=CVE-2026-129228
[14] https://security-tracker.debian.org/tracker/CVE-2026-129229
    https://www.cve.org/CVERecord?id=CVE-2026-129229
[15] https://security-tracker.debian.org/tracker/CVE-2026-129230
    https://www.cve.org/CVERecord?id=CVE-2026-129230
[16] https://security-tracker.debian.org/tracker/CVE-2026-129231
    https://www.cve.org/CVERecord?id=CVE-2026-129231
[17] https://security-tracker.debian.org/tracker/CVE-2026-129232
    https://www.cve.org/CVERecord?id=CVE-2026-129232
[18] https://security-tracker.debian.org/tracker/CVE-2026-129233
    https://www.cve.org/CVERecord?id=CVE-2026-129233
[19] https://security-tracker.debian.org/tracker/CVE-2026-129234
    https://www.cve.org/CVERecord?id=CVE-2026-129234

Please adjust the affected versions in the BTS as needed.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads