nltk

Every known advisory for the PyPI package nltk, with the affected versions and how widely it is downloaded.

Advisories136
Malicious0
In CISA KEV0
Exposure12,445,976 downloads last week

Newest fixed version among these advisories: f59d7ed8df2e0e957f7f247fe218032abdbe9a10. Check your version against each range below.

AdvisoryAffected versionsPublished
CVE-2026-129229 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 to 3.10.42026-11-19
CVE-2026-129224 GHSA-3h95-x772-4765
NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested category input
every version to 3.10.42026-11-19
CVE-2026-129230 GHSA-53pg-5qp8-mhvr
NLTK: Uncontrolled recursion in WordNet Synset hypernym walkers (max_depth/min_depth/hypernym_paths/hypernym_distances) causes DoS
every version to 3.10.42026-11-19
CVE-2026-129227 GHSA-63wh-5r5m-wxr7
NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list input
every version to 3.10.42026-11-19
CVE-2026-129223 GHSA-8846-p9w9-5frf
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversal
every version to 3.10.42026-11-19
CVE-2026-129221 GHSA-9ffx-rrgx-mhgx
NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels
every version to 3.10.42026-11-19
CVE-2026-128136 GHSA-c59x-vh6j-3w8v
NLTK: AllowlistUnpickler does not deny numpy submodule-local file-I/O sinks
3.10.0 to 3.10.42026-11-19
CVE-2026-129234 GHSA-cc5r-64rf-75hg
NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_location
every version to 3.10.42026-11-19
CVE-2026-129232 GHSA-cj8f-5fp3-6m88
NLTK: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tags
every version to 3.10.42026-11-19
CVE-2026-129228 GHSA-f2h2-f4fc-p978
NLTK: Uncontrolled recursion in Toolbox settings helpers causes denial of service via deeply nested input
every version to 3.10.42026-11-19
CVE-2026-128137 GHSA-g58v-j9g9-5gfg
NLTK corpus-reader view methods bypass the scoped root sandbox via intermediate-directory symlinks
3.9.4 to 3.10.42026-11-19
CVE-2026-128139 GHSA-j8g8-j4j7-8j54
NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service
3.6 to 3.10.42026-11-19
CVE-2026-128140 GHSA-pcm8-fqjx-rvx8
NLTK: Downloader cyclic collection indices cause an infinite closure walk
3.6.7 to 3.10.42026-11-19
CVE-2026-129231 GHSA-q4c8-9gwf-255x
NLTK: Quadratic-time DoS in SeekableUnicodeStreamReader.readline on an unterminated corpus line via per-iteration full-buffer rescan
every version to 3.10.42026-11-19
CVE-2026-129222 GHSA-rh8m-wqhc-qmrf
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()
every version to 3.10.42026-11-19
CVE-2026-129226 GHSA-w3pv-xfw4-ghr7
NLTK: Uncontrolled recursion in semantic-logic type parser causes denial of service via nested type strings
every version to 3.10.42026-11-19
CVE-2026-129233 GHSA-w674-vqhw-g3pg
NLTK: StreamBackedCorpusView constructor os.stat leaks out-of-root file existence, size, and mtime bypassing pathsec ENFORCE
3.10.0 to 3.10.42026-11-19
CVE-2026-128135 GHSA-wr3g-j6qj-xpgh
NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
3.9.4 to 3.10.42026-11-19
CVE-2026-128138 GHSA-x8q7-6c7m-52gw
NLTK incomplete fix: additional JVM/JAR sandbox bypass through unvalidated launcher tokens in java() command arguments
3.10.3 to 3.10.42026-11-19
CVE-2026-129225 GHSA-xfcv-m889-fmqg
NLTK: Uncontrolled recursion in DependencyGraph traversal causes denial of service via deep dependency chains
every version to 3.10.42026-11-19
CVE-2026-126296 GHSA-59f9-gqg8-mqpj
NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE
every version to 3.10.42026-11-16
CVE-2026-128134 GHSA-7mxv-7h3q-9324
NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element
every version to 3.10.42026-11-16
CVE-2026-126302 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 to 3.10.42026-11-16
CVE-2026-126299 GHSA-89p3-fcch-88ph
NLTK: Quadratic-time CPU denial of service in CCG lexicon parser (fromstring) on wide bracket bodies and operator chains
every version to 3.10.42026-11-14
CVE-2026-126298 GHSA-r53h-rw34-8h97
NLTK: Quadratic-time CPU denial of service in Tree.chomsky_normal_form right-factor binarization via list.pop(0)
every version to 3.10.42026-11-14
CVE-2026-126297 GHSA-v8f3-6phw-6mh9
NLTK: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescan
every version to 3.10.42026-11-14
CVE-2026-126303 GHSA-8fx7-8jr8-84rv
NLTK: Unbounded CPU consumption in SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars
every version to 3.10.42026-11-13
CVE-2026-126300 GHSA-ffr9-mgrr-wcvr
NLTK: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loop
3.2.5 to 3.10.42026-11-13
CVE-2026-126295 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 to 3.10.42026-11-13
CVE-2026-126301 GHSA-gpwc-27cw-rh9r
NLTK: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop
3.6 to 3.10.42026-11-13
CVE-2026-126304 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 to 3.10.42026-11-13
CVE-2026-109956 GHSA-j456-xh4h-cpf2
NLTK: WekaClassifier passes an unvalidated caller-controlled model path to the weka JVM, bypassing nltk.pathsec containment
every version to 3.10.42026-10-27
CVE-2026-71513 PYSEC-2026-3867
NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution
3.10.0 to 3.10.32026-09-10
CVE-2026-78680 PYSEC-2026-3868
NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary
every version to 3.10.32026-09-10
CVE-2026-12876 PYSEC-2026-3869
NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars
every version to 3.10.32026-09-10
CVE-2026-72818 PYSEC-2026-3870
NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking
every version to 3.10.12026-09-10
CVE-2026-81723 PYSEC-2026-3871
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
every version to 3.10.32026-09-10
CVE-2026-79674 GHSA-3gq4-3j92-5w49
NLTK: Corpus Reader Sandbox Bypass
every version to 3.10.32026-09-08
CVE-2026-62383 GHSA-3hhw-38pf-pxj6
NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely
3.10.0 to 3.10.22026-09-08
CVE-2026-62385 GHSA-568f-pv23-39p4
NLTK: Stable FrameNet and NKJP readers parse outside-root XML
every version to 3.10.02026-09-08
CVE-2026-12259 GHSA-5wp5-5229-5g6q
NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection
every version to 3.9.32026-09-08
CVE-2026-78682 GHSA-6ww7-3frv-cqxh
NLTK: pathsec SSRF protection can be bypassed when a proxy is configured
every version to 3.10.32026-09-08
CVE-2026-65915 GHSA-72r2-7mfr-5xr9
NLTK: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol
every version to 3.10.02026-09-08
CVE-2026-81725 GHSA-8mpw-7fpc-4gqj
NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks
every version to 3.10.32026-09-08
CVE-2026-78681 GHSA-97qj-x29f-37w7
NLTK: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parses
every version to 3.10.32026-09-08
CVE-2026-62384 GHSA-f833-7jw8-xwrv
NLTK: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292)
3.10.0 to 3.10.22026-09-08
CVE-2026-79676 GHSA-p4rw-rvv2-7xwr
NLTK: Corpus readers follow symlinks outside trusted roots despite pathsec enforcement
every version to 3.10.32026-09-08
CVE-2026-70626 GHSA-r6gq-whwq-mvg9
NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
every version to 3.9.42026-09-08
CVE-2026-78683 GHSA-rhp5-r9x4-f5g2
NLTK: Unsafe Pickle Deserialization in TransitionParser Allows Remote Code Execution
every version to 3.10.02026-09-08
CVE-2026-80205 GHSA-rrv8-h7p8-rx55
NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions
every version to 3.10.02026-09-08
CVE-2026-80206 GHSA-w3v8-gmh9-3wv7
NLTK: ReDoS in nltk.tgrep via unvalidated user-supplied regular expressions
every version to 3.10.32026-09-08
CVE-2026-63312 GHSA-x5ph-mj9p-rfr8
NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read
every version to 3.10.02026-09-08
CVE-2026-79657 GHSA-x99w-6fgc-pmfw
NLTK: Allowlisted pickle loaders still permit code execution in current source
every version to 3.10.32026-09-08
CVE-2026-63311 GHSA-3gqm-fcw5-w839
NLTK: SSRF Fail-Open in validate_network_url() via DNS Resolution Failure
every version to 3.10.02026-09-02
CVE-2026-81726 GHSA-8mgp-746c-j5xp
NLTK: Model-artifact APIs bypass pathsec and touch files outside allowed roots
every version to 3.10.42026-09-02
CVE-2026-81724 GHSA-cw6x-m8jw-qmrh
NLTK: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure input
every version to 3.10.32026-09-02
CVE-2026-81727 GHSA-f794-5jv7-7672
NLTK: Downloader.download follows hardlinks and overwrites outside-root files
every version to 3.10.32026-09-02
CVE-2026-12876 GHSA-ff5c-cp5c-9wjf
NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars
every version to 3.10.32026-09-02
CVE-2026-62388 GHSA-p3m8-78j2-g5p3
NLTK: Default ENFORCE=False Disables All pathsec Security Controls
every version to 3.10.02026-09-02
CVE-2026-81723 GHSA-vp2x-qp44-57v7
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
every version to 3.10.32026-09-02
CVE-2026-81722 GHSA-ww6m-cw3f-q94g
NLTK: Quadratic-time DoS in PorterStemmer via long runs of 'y'
every version to 3.10.32026-09-02
CVE-2026-78680 GHSA-6hwm-xvph-95vm
NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary
every version to 3.10.32026-09-01
CVE-2026-79675 GHSA-m4rf-3fr8-xwx3
NLTK: JVM argument injection bypass via per-call options in the NLTK Stanford wrappers (incomplete fix of CVE-2026-12841)
every version to 3.10.32026-09-01
CVE-2026-81722 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_consonant() helper walks backward over the entire run of trailing 'y' characters on
every version to 3.10.32026-08-27
CVE-2026-81724 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 of service by supplying deeply nested feature-structure input. Attackers can cra
every version to 3.10.32026-08-27
CVE-2026-81726 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-controlled paths. Attackers can read or write files outside allowed sandbox roots thro
every version to 3.10.32026-08-27
CVE-2026-81727 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 attackers to overwrite files outside the install root through pre-existing hardlin
every version to 3.10.32026-08-27
CVE-2026-81725 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 by supplying malformed TEI blocks with many unmatched opening tags. Attackers ca
every version to 3.10.32026-08-27
CVE-2026-80205 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-supplied regular expressions without validation or timeout. Attackers can supply
every version to 3.10.02026-08-26
CVE-2026-80206 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-supplied regular expressions embedded in /regex/ pattern nodes and executes them via
every version to 3.10.32026-08-26
CVE-2026-78682 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/download) when an HTTP proxy is configured. pathsec.urlopen validates the requeste
every version to 3.10.32026-08-25
CVE-2026-78683 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/transitionparser.py). The method calls pickle_load() with the default restricted=False
every version to 3.10.02026-08-25
CVE-2026-79657 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 safe callables. Attackers can craft malicious pickle payloads invoking dangerous
every version to 3.10.32026-08-25
CVE-2026-79674 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 data root. Attackers can supply arbitrary corpus root paths to LinThesaurusCorpus
every version to 3.10.32026-08-25
CVE-2026-79676 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.pathsec.open(), allowing symlinks to escape trusted roots. Attackers who stage symlink
every version to 3.10.32026-08-25
CVE-2026-78681 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 XML payloads with nested entity declarations that expand from hundreds of bytes t
every version to 3.10.32026-08-25
CVE-2026-79675 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 JVM flags. Attackers can supply malicious options like -agentpath, -javaagent, or
every version to 3.10.32026-08-25
CVE-2026-71513 GHSA-5gh2-94qg-qppq
NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution
3.10.0 to 3.10.32026-08-22
CVE-2026-71514 GHSA-cv22-g7mw-8v73
NLTK CrubadanCorpusReader path traversal allows arbitrary file disclosure
3.9.4 to 3.10.32026-08-22
CVE-2026-62388 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. Attackers can bypass path traversal and pickle deserialization protections by expl
every version to 3.10.02026-08-22
CVE-2026-63311 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/pathsec.py. The _resolve_hostname() helper catches OSError and ValueError during sock
every version to 3.10.02026-08-22
CVE-2026-66393 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 supplying deeply nested JSON structures. Attackers can craft JSON payloads exceedi
every version to 3.9.42026-08-22
CVE-2026-62383 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. Attackers can place a symlink in the corpus root directory and read arbitrary
3.10.0 to 3.10.22026-08-22
CVE-2026-62385 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 the corpus root by supplying unsafe selectors or poisoned index state. Attacker
every version to 3.10.02026-08-22
CVE-2026-12259 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-middle attacks or DNS poisoning to inject malicious package contents that are extra
every version to 3.9.32026-08-22
CVE-2026-63312 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() directly instead of pathsec.open(). Attackers who control the fileid argument can read
every version to 3.10.02026-08-22
CVE-2026-65915 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, making the security check permanently inert. Attackers can pass file:// URLs to nl
every version to 3.10.02026-08-22
CVE-2026-70626 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 root. The vulnerability exists because path validation is lexical and does not a
every version to 3.9.42026-08-22
CVE-2026-62384 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 root. Attackers can place symlinks with names containing no path separators insi
3.10.0 to 3.10.22026-08-22
CVE-2026-71514 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 column-0 value read from the corpus table.txt mapping file, and opens the result with
3.9.4 to 3.10.32026-08-22
CVE-2026-72818 GHSA-qx2g-xrx7-vfh8
NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking
every version to 3.10.12026-08-21
CVE-2026-12243 GHSA-m42h-3232-vpv3
nltk: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded Sequences
every version to 3.10.02026-08-13
CVE-2026-12372 GHSA-2jhm-w3mp-jcwr
NLTK network URL validation permits SSRF to RFC 6598 shared-address-space hosts
every version to 3.10.02026-08-10
CVE-2026-12372 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()` function, intended to prevent SSRF by rejecting internal network addresses, fail
every version to ≤ 3.9.42026-08-09
CVE-2026-12261 GHSA-ffj6-66c4-86gw
NLTK downloader allows cross-package resource and model poisoning
every version to 3.10.02026-08-07
CVE-2026-12261 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 archives into shared namespaces such as `corpora/` and `taggers/` instead of package-
every version to 3.10.02026-08-07
CVE-2026-12072 PYSEC-2026-3581
Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypasses the nltk.pathsec sandbox (ENFORCE=True)
every version to 3.10.02026-08-04
CVE-2026-12061 PYSEC-2026-3582
Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regex
every version to 3.10.02026-08-04
CVE-2026-12075 PYSEC-2026-3583
Natural Language Toolkit (NLTK): DNS-rebinding SSRF filter bypass in nltk.pathsec.urlopen (nltk.download / nltk.data.load) defeats ENFORCE mode
every version to 3.10.02026-08-04
CVE-2026-12074 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)
every version to 3.10.02026-08-04
CVE-2026-12259 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 enforcing SHA-256 or MD5 checksum validation. This allows an attacker to tamper with th
every version to ≤ 3.9.42026-08-03
CVE-2026-12072 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)
every version to 3.10.02026-07-31
CVE-2026-12061 GHSA-fg7f-2386-8897
Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regex
every version to 3.10.02026-07-31
CVE-2026-12075 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
every version to 3.10.02026-07-31
CVE-2026-12074 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)
every version to 3.10.02026-07-31
CVE-2025-71408 GHSA-848c-c2cx-j7qx
NLTK vulnerable to Eval Injection via collocations CLI arguments
every version to 3.9.32026-07-25
CVE-2025-71408 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 controls command-line arguments to execute arbitrary Python code. When collocations.py
every version to 3.9.32026-07-24
CVE-2026-12252 GHSA-9r6g-266r-89x4
NLTK Stanford wrapper classes execute untrusted JAR files without verification
every version to 3.9.42026-07-04
CVE-2026-12252 PYSEC-2026-2085
In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. Th
every version to 3.9.42026-07-04
CVE-2026-12243 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` checks for literal `../` sequences but fails to account for percent-encoded tr
every version to ≤ 3.9.42026-06-30
CVE-2026-54293 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 Processing. Prior to 3.10.0-rc1, nltk.data.load() in NLTK is vulnerable to path trave
every version to 3.10.02026-06-22
CVE-2026-54293 GHSA-p4gq-832x-fm9v
Natural Language Toolkit (NLTK): URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read
every version to 3.10.02026-06-16
CVE-2026-33230 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 Processing. In versions 3.9.3 and prior, `nltk.app.wordnet_app` contains a reflected
every version to 3.9.42026-03-20
CVE-2026-33231 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 Processing. In versions 3.9.3 and prior, `nltk.app.wordnet_app` allows unauthenticate
every version to 3.9.42026-03-20
CVE-2026-33236 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 Processing. In versions 3.9.3 and prior, the NLTK downloader does not validate the `s
every version to 3.9.42026-03-20
CVE-2026-33236 GHSA-469j-vmhf-r6v7
NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite
every version to 3.9.42026-03-19
CVE-2026-33231 GHSA-jm6w-m3j8-898g
Unauthenticated remote shutdown in nltk.app.wordnet_app
every version to 3.9.42026-03-19
CVE-2026-33230 GHSA-gfwx-w7gr-fvh7
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nltk
every version to 3.9.42026-03-18
CVE-2026-66393 GHSA-rf74-v2fm-23pw
Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoS
every version to 3.9.42026-03-18
CVE-2026-0846 GHSA-h8wq-7xc4-p3qx
NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()
every version to 3.9.32026-03-09
CVE-2026-0846 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 paths. The function directly opens files specified by user input without sanitizat
every version to ≤ 3.9.22026-03-09
CVE-2026-0848 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 external Java .jar files without verification or sandboxing. An attacker can sup
every version to 3.9.32026-03-05
CVE-2026-0847 GHSA-68j8-pq59-fqgm
NLTK has a Path Traversal issue
every version to 3.9.32026-03-04
CVE-2026-0847 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 WordListCorpusReader, TaggedCorpusReader, and BracketParseCorpusReader. These classes fail
every version to 3.9.32026-03-04
CVE-2025-14009 GHSA-7p94-766c-hgjp
NLTK has a Zip Slip Vulnerability
every version to 3.9.32026-02-18
CVE-2025-14009 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 zipfile.extractall() without performing path validation or security checks. This allo
every version to 3.9.32026-02-18
CVE-2024-39705 GHSA-cgvx-9447-vcch
ntlk unsafe deserialization vulnerability
every version to 3.92024-06-28
CVE-2024-39705 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. This affects, for example, averaged_perceptron_tagger and punkt.
every version to 3.92024-06-27
CVE-2021-43854 GHSA-f8m6-h2c7-8h9x
Inefficient Regular Expression Complexity in nltk (word_tokenize, sent_tokenize)
every version to 3.6.62022-01-06
CVE-2021-3842 GHSA-rqjh-jp2r-59cj
NLTK Vulnerable to REDoS
every version to 3.6.62022-01-06
CVE-2021-3842 PYSEC-2022-5
nltk is vulnerable to Inefficient Regular Expression Complexity
every version to 2a50a3edc9d35f57ae42a921c621edc160877f4d
every version to 3.6.6
2022-01-04
CVE-2021-43854 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 Processing. Versions prior to 3.6.5 are vulnerable to regular expression denial of se
every version to 1405aad979c6b8080dbbc8e0858f89b2e3690341
every version to 3.6.5
2021-12-23
CVE-2021-3828 GHSA-2ww3-fxvq-293j
NLTK Vulnerable to REDoS
every version to 3.6.42021-09-29
CVE-2021-3828 PYSEC-2021-356
nltk is vulnerable to Inefficient Regular Expression Complexity
every version to 277711ab1dec729e626b27aab6fa35ea5efbd7e6
every version to 3.6.4
2021-09-27
CVE-2019-14751 GHSA-mr7p-25v2-35wr
NLTK Vulnerable To Path Traversal
every version to 3.4.52019-08-23
CVE-2019-14751 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 (ZIP archive) that is mishandled during extraction.
every version to f59d7ed8df2e0e957f7f247fe218032abdbe9a10
every version to 3.4.5
2019-08-22

Advisories from OSV (GitHub, PyPA, RustSec, Go, OpenSSF malicious packages and more). Scan a whole lockfile on the scan page. Most exposed packages.