nltk

Built from the advisories that name this package: its registry metadata (versions, licence, dependencies) has not been fetched by this service yet.

At a glance

Ecosystem
PyPI
Vulnerability status
136 advisory(ies) without a verdict

Advisories (136)

AdvisoryAffected versionsLatest version
GHSA-2jhm-w3mp-jcwr
NLTK network URL validation permits SSRF to RFC 6598 shared-address-space hosts
< 3.10.0Undetermined
GHSA-2ww3-fxvq-293j
NLTK Vulnerable to REDoS
< 3.6.4Undetermined
GHSA-32p6-cwhc-8r78
NLTK: Compile-time regex DoS in NLTK search/tokenizer sinks: quadratic regex-engine compile bypasses the match-only timeout
3.10.0 – < 3.10.4Undetermined
GHSA-3gq4-3j92-5w49
NLTK: Corpus Reader Sandbox Bypass
< 3.10.3Undetermined
GHSA-3gqm-fcw5-w839
NLTK: SSRF Fail-Open in validate_network_url() via DNS Resolution Failure
< 3.10.0Undetermined
GHSA-3h95-x772-4765
NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested category input
< 3.10.4Undetermined
GHSA-3hhw-38pf-pxj6
NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely
3.10.0 – < 3.10.2Undetermined
GHSA-469j-vmhf-r6v7
NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite
< 3.9.4Undetermined
GHSA-53pg-5qp8-mhvr
NLTK: Uncontrolled recursion in WordNet Synset hypernym walkers (max_depth/min_depth/hypernym_paths/hypernym_distances) causes DoS
< 3.10.4Undetermined
GHSA-568f-pv23-39p4
NLTK: Stable FrameNet and NKJP readers parse outside-root XML
< 3.10.0Undetermined
GHSA-59f9-gqg8-mqpj
NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE
< 3.10.4Undetermined
GHSA-5gh2-94qg-qppq
NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution
3.10.0 – < 3.10.3Undetermined
GHSA-5wp5-5229-5g6q
NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection
< 3.9.3Undetermined
GHSA-63wh-5r5m-wxr7
NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list input
< 3.10.4Undetermined
GHSA-68j8-pq59-fqgm
NLTK has a Path Traversal issue
< 3.9.3Undetermined
GHSA-6hm5-jgcp-p838
Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypasses the nltk.pathsec sandbox (ENFORCE=True)
< 3.10.0Undetermined
GHSA-6hwm-xvph-95vm
NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary
< 3.10.3Undetermined
GHSA-6ww7-3frv-cqxh
NLTK: pathsec SSRF protection can be bypassed when a proxy is configured
< 3.10.3Undetermined
GHSA-72r2-7mfr-5xr9
NLTK: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol
< 3.10.0Undetermined
GHSA-7mxv-7h3q-9324
NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element
< 3.10.4Undetermined
GHSA-7p94-766c-hgjp
NLTK has a Zip Slip Vulnerability
< 3.9.3Undetermined
GHSA-848c-c2cx-j7qx
NLTK vulnerable to Eval Injection via collocations CLI arguments
< 3.9.3Undetermined
GHSA-8846-p9w9-5frf
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversal
< 3.10.4Undetermined
GHSA-89p3-fcch-88ph
NLTK: Quadratic-time CPU denial of service in CCG lexicon parser (fromstring) on wide bracket bodies and operator chains
< 3.10.4Undetermined
GHSA-8fx7-8jr8-84rv
NLTK: Unbounded CPU consumption in SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars
< 3.10.4Undetermined
GHSA-8mgp-746c-j5xp
NLTK: Model-artifact APIs bypass pathsec and touch files outside allowed roots
< 3.10.4Undetermined
GHSA-8mpw-7fpc-4gqj
NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks
< 3.10.3Undetermined
GHSA-97qj-x29f-37w7
NLTK: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parses
< 3.10.3Undetermined
GHSA-9ffx-rrgx-mhgx
NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels
< 3.10.4Undetermined
GHSA-9r6g-266r-89x4
NLTK Stanford wrapper classes execute untrusted JAR files without verification
< 3.9.4Undetermined
GHSA-c59x-vh6j-3w8v
NLTK: AllowlistUnpickler does not deny numpy submodule-local file-I/O sinks
3.10.0 – < 3.10.4Undetermined
GHSA-cc5r-64rf-75hg
NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_location
< 3.10.4Undetermined
GHSA-cgvx-9447-vcch
ntlk unsafe deserialization vulnerability
< 3.9Undetermined
GHSA-cj8f-5fp3-6m88
NLTK: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tags
< 3.10.4Undetermined
GHSA-cv22-g7mw-8v73
NLTK CrubadanCorpusReader path traversal allows arbitrary file disclosure
3.9.4 – < 3.10.3Undetermined
GHSA-cw6x-m8jw-qmrh
NLTK: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure input
< 3.10.3Undetermined
GHSA-f2h2-f4fc-p978
NLTK: Uncontrolled recursion in Toolbox settings helpers causes denial of service via deeply nested input
< 3.10.4Undetermined
GHSA-f794-5jv7-7672
NLTK: Downloader.download follows hardlinks and overwrites outside-root files
< 3.10.3Undetermined
GHSA-f833-7jw8-xwrv
NLTK: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292)
3.10.0 – < 3.10.2Undetermined
GHSA-f8m6-h2c7-8h9x
Inefficient Regular Expression Complexity in nltk (word_tokenize, sent_tokenize)
< 3.6.6Undetermined
GHSA-ff5c-cp5c-9wjf
NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars
< 3.10.3Undetermined
GHSA-ffj6-66c4-86gw
NLTK downloader allows cross-package resource and model poisoning
< 3.10.0Undetermined
GHSA-ffr9-mgrr-wcvr
NLTK: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loop
3.2.5 – < 3.10.4Undetermined
GHSA-fg7f-2386-8897
Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regex
< 3.10.0Undetermined
GHSA-fg9w-wfp5-j933
NLTK: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check, enabling arbitrary read
3.10.0 – < 3.10.4Undetermined
GHSA-g58v-j9g9-5gfg
NLTK corpus-reader view methods bypass the scoped root sandbox via intermediate-directory symlinks
3.9.4 – < 3.10.4Undetermined
GHSA-gfwx-w7gr-fvh7
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nltk
< 3.9.4Undetermined
GHSA-gpwc-27cw-rh9r
NLTK: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop
3.6 – < 3.10.4Undetermined
GHSA-h8wq-7xc4-p3qx
NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()
< 3.9.3Undetermined
GHSA-j456-xh4h-cpf2
NLTK: WekaClassifier passes an unvalidated caller-controlled model path to the weka JVM, bypassing nltk.pathsec containment
< 3.10.4Undetermined
GHSA-j8g8-j4j7-8j54
NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service
3.6 – < 3.10.4Undetermined
GHSA-jm6w-m3j8-898g
Unauthenticated remote shutdown in nltk.app.wordnet_app
< 3.9.4Undetermined
GHSA-m42h-3232-vpv3
nltk: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded Sequences
< 3.10.0Undetermined
GHSA-m4rf-3fr8-xwx3
NLTK: JVM argument injection bypass via per-call options in the NLTK Stanford wrappers (incomplete fix of CVE-2026-12841)
< 3.10.3Undetermined
GHSA-mr7p-25v2-35wr
NLTK Vulnerable To Path Traversal
< 3.4.5Undetermined
GHSA-p3m8-78j2-g5p3
NLTK: Default ENFORCE=False Disables All pathsec Security Controls
< 3.10.0Undetermined
GHSA-p4gq-832x-fm9v
Natural Language Toolkit (NLTK): URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read
< 3.10.0Undetermined
GHSA-p4rw-rvv2-7xwr
NLTK: Corpus readers follow symlinks outside trusted roots despite pathsec enforcement
< 3.10.3Undetermined
GHSA-pcm8-fqjx-rvx8
NLTK: Downloader cyclic collection indices cause an infinite closure walk
3.6.7 – < 3.10.4Undetermined
GHSA-q4c8-9gwf-255x
NLTK: Quadratic-time DoS in SeekableUnicodeStreamReader.readline on an unterminated corpus line via per-iteration full-buffer rescan
< 3.10.4Undetermined
GHSA-qg35-44qx-7vrr
NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox
3.10.0 – < 3.10.4Undetermined
GHSA-qvv7-cg9c-w4x3
Natural Language Toolkit (NLTK): DNS-rebinding SSRF filter bypass in nltk.pathsec.urlopen (nltk.download / nltk.data.load) defeats ENFORCE mode
< 3.10.0Undetermined
GHSA-qx2g-xrx7-vfh8
NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking
< 3.10.1Undetermined
GHSA-r53h-rw34-8h97
NLTK: Quadratic-time CPU denial of service in Tree.chomsky_normal_form right-factor binarization via list.pop(0)
< 3.10.4Undetermined
GHSA-r6gq-whwq-mvg9
NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
< 3.9.4Undetermined
GHSA-rf74-v2fm-23pw
Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoS
< 3.9.4Undetermined
GHSA-rh8m-wqhc-qmrf
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()
< 3.10.4Undetermined
GHSA-rhp5-r9x4-f5g2
NLTK: Unsafe Pickle Deserialization in TransitionParser Allows Remote Code Execution
< 3.10.0Undetermined
GHSA-rqjh-jp2r-59cj
NLTK Vulnerable to REDoS
< 3.6.6Undetermined
GHSA-rrv8-h7p8-rx55
NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions
< 3.10.0Undetermined
GHSA-v8f3-6phw-6mh9
NLTK: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescan
< 3.10.4Undetermined
GHSA-vp2x-qp44-57v7
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
< 3.10.3Undetermined
GHSA-w3pv-xfw4-ghr7
NLTK: Uncontrolled recursion in semantic-logic type parser causes denial of service via nested type strings
< 3.10.4Undetermined
GHSA-w3v8-gmh9-3wv7
NLTK: ReDoS in nltk.tgrep via unvalidated user-supplied regular expressions
< 3.10.3Undetermined
GHSA-w674-vqhw-g3pg
NLTK: StreamBackedCorpusView constructor os.stat leaks out-of-root file existence, size, and mtime bypassing pathsec ENFORCE
3.10.0 – < 3.10.4Undetermined
GHSA-wr3g-j6qj-xpgh
NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
3.9.4 – < 3.10.4Undetermined
GHSA-ww6m-cw3f-q94g
NLTK: Quadratic-time DoS in PorterStemmer via long runs of 'y'
< 3.10.3Undetermined
GHSA-x5ph-mj9p-rfr8
NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read
< 3.10.0Undetermined
GHSA-x8q7-6c7m-52gw
NLTK incomplete fix: additional JVM/JAR sandbox bypass through unvalidated launcher tokens in java() command arguments
3.10.3 – < 3.10.4Undetermined
GHSA-x99w-6fgc-pmfw
NLTK: Allowlisted pickle loaders still permit code execution in current source
< 3.10.3Undetermined
GHSA-xfcv-m889-fmqg
NLTK: Uncontrolled recursion in DependencyGraph traversal causes denial of service via deep dependency chains
< 3.10.4Undetermined
GHSA-xh95-f55m-82fw
Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XML file read, bypassing the nltk.pathsec sandbox (ENFORCE=True)
< 3.10.0Undetermined
GHSA-xmfg-f9cm-w86q
NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases
3.9.4 – < 3.10.4Undetermined
PYSEC-2019-106
NLTK Downloader before 3.4.5 is vulnerable to a directory traversal, allowing attackers to write arbitrary files via a ../ (dot dot slash) in an NLTK package (Z
< f59d7ed8df2e0e957f7f247fe218032abdbe9a10 ; < 3.4.5Undetermined
PYSEC-2021-356
nltk is vulnerable to Inefficient Regular Expression Complexity
< 277711ab1dec729e626b27aab6fa35ea5efbd7e6 ; < 3.6.4Undetermined
PYSEC-2021-859
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Proce
< 1405aad979c6b8080dbbc8e0858f89b2e3690341 ; < 3.6.5Undetermined
PYSEC-2022-5
nltk is vulnerable to Inefficient Regular Expression Complexity
< 2a50a3edc9d35f57ae42a921c621edc160877f4d ; < 3.6.6Undetermined
PYSEC-2024-167
NLTK through 3.8.1 allows remote code execution if untrusted packages have pickled Python code, and the integrated data package download functionality is used.
< 3.9Undetermined
PYSEC-2026-2078
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Proce
< 3.10.0Undetermined
PYSEC-2026-2085
In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and St
< 3.9.4Undetermined
PYSEC-2026-2235
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Proce
< 3.9.4Undetermined
PYSEC-2026-2236
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Proce
< 3.9.4Undetermined
PYSEC-2026-2237
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Proce
< 3.9.4Undetermined
PYSEC-2026-3581
Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypasses the nltk.pathsec sandbox (ENFORCE=True)
< 3.10.0Undetermined
PYSEC-2026-3582
Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regex
< 3.10.0Undetermined
PYSEC-2026-3583
Natural Language Toolkit (NLTK): DNS-rebinding SSRF filter bypass in nltk.pathsec.urlopen (nltk.download / nltk.data.load) defeats ENFORCE mode
< 3.10.0Undetermined
PYSEC-2026-3584
Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XML file read, bypassing the nltk.pathsec sandbox (ENFORCE=True)
< 3.10.0Undetermined
PYSEC-2026-3657
NLTK (Natural Language Toolkit) before version 3.9.3 contains an eval injection vulnerability in the nltk.collocations module that allows an attacker who contro
< 3.9.3Undetermined
PYSEC-2026-3722
NLTK versions before 3.10.0 default to ENFORCE=False in pathsec.py, causing all security validation functions to emit warnings instead of raising exceptions. At
< 3.10.0Undetermined
PYSEC-2026-3723
NLTK before 3.10.0 (affected versions <= 3.9.4) contains a server-side request forgery (SSRF) vulnerability in the validate_network_url() function in nltk/paths
< 3.10.0Undetermined
PYSEC-2026-3724
NLTK versions before 3.9.4 contain an unbounded recursion vulnerability in JSONTaggedDecoder.decode_obj() that allows attackers to cause denial of service by su
< 3.9.4Undetermined
PYSEC-2026-3726
nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirely
3.10.0 – < 3.10.2Undetermined
PYSEC-2026-3728
NLTK versions before 3.10.0 contain a path traversal vulnerability in FramenetCorpusReader and NKJPCorpusReader that allows attackers to parse XML files outside
< 3.10.0Undetermined
PYSEC-2026-3729
NLTK before 3.9.3 fails to verify file integrity after downloading packages and before extraction in the downloader module. Attackers can perform man-in-the-mid
< 3.9.3Undetermined
PYSEC-2026-3730
NLTK before 3.10.0 contains an arbitrary local file read vulnerability in StreamBackedCorpusView that bypasses pathsec.ENFORCE by calling builtins.open() direct
< 3.10.0Undetermined
PYSEC-2026-3731
NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, ma
< 3.10.0Undetermined
PYSEC-2026-3732
NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus
< 3.9.4Undetermined
PYSEC-2026-3733
NLTK before 3.10.3 contains a server-side request forgery vulnerability in nltk.pathsec.urlopen (and callers nltk.data.load, nltk.downloader.Downloader.index/do
< 3.10.3Undetermined
PYSEC-2026-3734
NLTK before 3.10.0 (affected versions <=3.9.4) contains an unsafe pickle deserialization vulnerability in the TransitionParser.parse() method (nltk/parse/transi
< 3.10.0Undetermined
PYSEC-2026-3735
NLTK versions before 3.10.3 contain a remote code execution vulnerability in allowlisted pickle loaders that trust entire module namespaces instead of specific
< 3.10.3Undetermined
PYSEC-2026-3736
NLTK versions before 3.10.3 contain a path sandbox bypass vulnerability in corpus-reader constructors that allows attackers to read files outside the intended d
< 3.10.3Undetermined
PYSEC-2026-3737
NLTK versions before 3.10.3 contain a path traversal vulnerability in corpus readers that reopen root-derived paths using built-in open() instead of nltk.pathse
< 3.10.3Undetermined
PYSEC-2026-3738
nltk PorterStemmer in versions <= 3.10.2 (fixed in 3.10.3) contains an inefficient-algorithmic-complexity denial of service in PorterStemmer.stem(). The _is_con
< 3.10.3Undetermined
PYSEC-2026-3739
NLTK before 3.10.3 contains an uncontrolled recursion vulnerability in nltk.featstruct.FeatStructReader that allows unauthenticated attackers to cause a denial
< 3.10.3Undetermined
PYSEC-2026-3740
NLTK through 3.10.3 contains a path traversal vulnerability in model-artifact APIs that bypass pathsec enforcement by using raw file operations on caller-contro
< 3.10.3Undetermined
PYSEC-2026-3741
NLTK versions before 3.10.3 contain a filesystem containment bypass vulnerability in the Downloader.download and Downloader.incr_download methods that allows at
< 3.10.3Undetermined
PYSEC-2026-3748
NLTK versions before 3.10.3 use xml.etree.ElementTree to parse XML in multiple modules, which honors entity declarations in document DTDs. Attackers can craft X
< 3.10.3Undetermined
PYSEC-2026-3749
NLTK before 3.10.3 fails to validate JVM options passed through the per-call options parameter in the java() function, allowing attackers to inject dangerous JV
< 3.10.3Undetermined
PYSEC-2026-3750
NLTK versions before 3.10.0 contain a regular expression denial of service vulnerability in Text.findall() and TokenSearcher.findall() methods that accept user-
< 3.10.0Undetermined
PYSEC-2026-3751
NLTK before 3.10.3 contains a regular expression denial of service (ReDoS) vulnerability in the tgrep module. The _tgrep_node_action function compiles user-supp
< 3.10.3Undetermined
PYSEC-2026-3752
NLTK before 3.10.3 contains a regular expression denial of service vulnerability in Pl196xCorpusReader that allows attackers to cause quadratic CPU consumption
< 3.10.3Undetermined
PYSEC-2026-3789
NLTK versions before 3.10.2 contain a symlink-based sandbox bypass in FramenetCorpusReader that allows attackers to read arbitrary XML files outside the corpus
3.10.0 – < 3.10.2Undetermined
PYSEC-2026-3790
NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader. _load_lang_ngrams joins the corpus root with crubadan_code, the colum
3.9.4 – < 3.10.3Undetermined
PYSEC-2026-3867
NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution
3.10.0 – < 3.10.3Undetermined
PYSEC-2026-3868
NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary
< 3.10.3Undetermined
PYSEC-2026-3869
NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars
< 3.10.3Undetermined
PYSEC-2026-3870
NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking
< 3.10.1Undetermined
PYSEC-2026-3871
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
< 3.10.3Undetermined
PYSEC-2026-3954
A vulnerability in `nltk.downloader` in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archi
< 3.10.0Undetermined
PYSEC-2026-3955
A Server-Side Request Forgery (SSRF) vulnerability exists in nltk/nltk versions 3.9.4 and the current develop branch. The `nltk.pathsec.validate_network_url()`
≤ 3.9.4Undetermined
PYSEC-2026-4318
In nltk version 3.9.4, the `nltk.downloader.Downloader._download_package()` function writes downloaded package bytes to disk and may extract them before enforci
≤ 3.9.4Undetermined
PYSEC-2026-597
NLTK version 3.9.4 is vulnerable to a path traversal attack due to an incomplete fix for GitHub Issue #3504. The `_UNSAFE_NO_PROTOCOL_RE` regex in `nltk/data.py
≤ 3.9.4Undetermined
PYSEC-2026-96
A critical vulnerability exists in the NLTK downloader component of nltk/nltk, affecting all versions. The _unzip_iter function in nltk/downloader.py uses zipfi
< 3.9.3Undetermined
PYSEC-2026-97
A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input pa
≤ 3.9.2Undetermined
PYSEC-2026-98
A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file read via path traversal in multiple CorpusReader classes, including WordListCor
< 3.9.3Undetermined
PYSEC-2026-99
NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads
< 3.9.3Undetermined

Withdrawn advisories (39)

Withdrawn by their publisher: they affect no version and are not counted above.

Sources

SourceLicence