nltk: known vulnerabilities and the safe version
The version to be on
Version 3.10.4 or later fixes every vulnerability on this page that has a recorded fix.
Upgrade nltk with pip
pip install --upgrade "nltk>=3.10.4"
pip show nltk | grep VersionPin it in requirements.txt
nltk>=3.10.4Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.
Watch nltk
Get an email only when nltk has a new vulnerability record. Unsubscribe with one click.
Badge for your README
Shows the number of known critical and high vulnerabilities in nltk and the version that fixes them. It updates by itself.
Markdown
[](https://securityelites.com/ai-vulnerabilities/package/nltk/)All records
- NLTK can overwrite files outside its data folder via hardlinks during package extractionHigh · CVE-2026-128135 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: AllowlistUnpickler does not deny numpy submodule-local file-I/O sinksMedium · CVE-2026-128136 · fixed in 3.10.4 · 20 Nov 2026
- NLTK corpus-reader view methods bypass the scoped root sandbox via intermediate-directory symlinksMedium · CVE-2026-128137 · fixed in 3.10.4 · 20 Nov 2026
- NLTK can run untrusted Java code even after security fix in 3.10.3Critical · CVE-2026-128138 · fixed in 3.10.4 · 20 Nov 2026
- NLTK XML parser can be made to freeze by reading a crafted corpus fileHigh · CVE-2026-128139 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Downloader cyclic collection indices cause an infinite closure walkMedium · CVE-2026-128140 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class LabelsMedium · CVE-2026-129221 · fixed in 3.10.4 · 20 Nov 2026
- NLTK dependency parser crashes on long sentencesHigh · CVE-2026-129222 · fixed in 3.10.4 · 20 Nov 2026
- NLTK WordNet tree methods can run out of memory with deep relation chainsHigh · CVE-2026-129223 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested category inputMedium · CVE-2026-129224 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Uncontrolled recursion in DependencyGraph traversal causes denial of service via deep dependency chainsMedium · CVE-2026-129225 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Uncontrolled recursion in semantic-logic type parser causes denial of service via nested type stringsMedium · CVE-2026-129226 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list inputMedium · CVE-2026-129227 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Uncontrolled recursion in Toolbox settings helpers causes denial of service via deeply nested inputMedium · CVE-2026-129228 · fixed in 3.10.4 · 20 Nov 2026
- NLTK regex compilation denial of service via many groupsHigh · CVE-2026-129229 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Uncontrolled recursion in WordNet Synset hypernym walkers (max_depth/min_depth/hypernym_paths/hyperny…Medium · CVE-2026-129230 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Quadratic-time DoS in SeekableUnicodeStreamReader.readline on an unterminated corpus line via per-ite…Medium · CVE-2026-129231 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tagsMedium · CVE-2026-129232 · fixed in 3.10.4 · 20 Nov 2026
- NLTK: StreamBackedCorpusView constructor os.stat leaks out-of-root file existence, size, and mtime bypassin…Medium · CVE-2026-129233 · fixed in 3.10.4 · 20 Nov 2026
- NLTK can run attacker's code when given a relative path to Prover9 or MaceHigh · CVE-2026-129234 · fixed in 3.10.4 · 20 Nov 2026
- NLTK can run untrusted dot command from writable directoryHigh · CVE-2026-128134 · fixed in 3.10.4 · 17 Nov 2026
- NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite…Medium · CVE-2026-126302 · fixed in 3.10.4 · 16 Nov 2026
- NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITEMedium · CVE-2026-126296 · fixed in 3.10.4 · 16 Nov 2026
- NLTK CCG lexicon parser can be made to freeze with large inputHigh · CVE-2026-126299 · fixed in 3.10.4 · 14 Nov 2026
- NLTK tree normalizer hangs on wide treesHigh · CVE-2026-126298 · fixed in 3.10.4 · 14 Nov 2026
- NLTK can be made to use excessive CPU when reading malformed CoNLL filesHigh · CVE-2026-126297 · fixed in 3.10.4 · 14 Nov 2026
- NLTK: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check…Medium · CVE-2026-126295 · fixed in 3.10.4 · 14 Nov 2026
- NLTK: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loopMedium · CVE-2026-126301 · fixed in 3.10.4 · 14 Nov 2026
- NLTK: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loopMedium · CVE-2026-126300 · fixed in 3.10.4 · 14 Nov 2026
- NLTK SteppingRecursiveDescentParser can hang indefinitely on ambiguous grammarsHigh · CVE-2026-126303 · fixed in 3.10.4 · 14 Nov 2026
- NLTK YCOE corpus reader can read files outside its corpus via symlinksHigh · CVE-2026-126304 · fixed in 3.10.4 · 14 Nov 2026
- NLTK WekaClassifier can read and write files outside allowed locationsHigh · CVE-2026-109956 · fixed in 3.10.4 · 27 Oct 2026
- NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocksUnknown · CVE-2026-81725 · fixed in 3.10.3 · 9 Sep 2026
- NLTK: ReDoS in nltk.tgrep via unvalidated user-supplied regular expressionsUnknown · CVE-2026-80206 · fixed in 3.10.3 · 9 Sep 2026
- NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressionsUnknown · CVE-2026-80205 · fixed in 3.10.0 · 9 Sep 2026
- NLTK: Corpus Reader Sandbox BypassUnknown · CVE-2026-79674 · fixed in 3.10.3 · 8 Sep 2026
- NLTK: Corpus readers follow symlinks outside trusted roots despite pathsec enforcementUnknown · CVE-2026-79676 · fixed in 3.10.3 · 8 Sep 2026
- NLTK: Allowlisted pickle loaders still permit code execution in current sourceUnknown · CVE-2026-79657 · fixed in 3.10.3 · 8 Sep 2026
- NLTK: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parsesUnknown · CVE-2026-78681 · fixed in 3.10.3 · 8 Sep 2026
- NLTK: pathsec SSRF protection can be bypassed when a proxy is configuredUnknown · CVE-2026-78682 · fixed in 3.10.3 · 8 Sep 2026
- NLTK: Unsafe Pickle Deserialization in TransitionParser Allows Remote Code ExecutionUnknown · CVE-2026-78683 · fixed in 3.10.0 · 8 Sep 2026
- NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirelyUnknown · CVE-2026-62383 · fixed in 3.10.2 · 8 Sep 2026
- NLTK: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292)Unknown · CVE-2026-62384 · fixed in 3.10.2 · 8 Sep 2026
- NLTK: Stable FrameNet and NKJP readers parse outside-root XMLUnknown · CVE-2026-62385 · fixed in 3.10.0 · 8 Sep 2026
- NLTK: Missing Post-Download Integrity Verification Allows Malicious Package InjectionUnknown · CVE-2026-12259 · no fix recorded · 8 Sep 2026
- NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File ReadUnknown · CVE-2026-63312 · fixed in 3.10.0 · 8 Sep 2026
- NLTK: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocolUnknown · CVE-2026-65915 · fixed in 3.10.0 · 8 Sep 2026
- NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus rootUnknown · CVE-2026-70626 · fixed in 3.9.4 · 8 Sep 2026
- NLTK: Default ENFORCE=False Disables All pathsec Security ControlsUnknown · CVE-2026-62388 · fixed in 3.10.0 · 2 Sep 2026
- NLTK: SSRF Fail-Open in validate_network_url() via DNS Resolution FailureUnknown · CVE-2026-63311 · fixed in 3.10.0 · 2 Sep 2026
- NLTK: Quadratic-time DoS in PorterStemmer via long runs of 'y'Unknown · CVE-2026-81722 · fixed in 3.10.3 · 2 Sep 2026
- NLTK: Downloader.download follows hardlinks and overwrites outside-root filesUnknown · CVE-2026-81727 · fixed in 3.10.3 · 2 Sep 2026
- NLTK: Model-artifact APIs bypass pathsec and touch files outside allowed rootsUnknown · CVE-2026-81726 · fixed in 3.10.3 · 2 Sep 2026
- NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`Unknown · CVE-2026-81723 · fixed in 3.10.3 · 2 Sep 2026
- NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammarsUnknown · CVE-2026-12876 · fixed in 3.10.3 · 2 Sep 2026
- NLTK: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via…Unknown · CVE-2026-81724 · fixed in 3.10.3 · 2 Sep 2026
- NLTK: JVM argument injection bypass via per-call options in the NLTK Stanford wrappers (incomplete fix of C…Unknown · CVE-2026-79675 · fixed in 3.10.3 · 2 Sep 2026
- NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binaryUnknown · CVE-2026-78680 · fixed in 3.10.3 · 2 Sep 2026
- NLTK CrubadanCorpusReader path traversal allows arbitrary file disclosureUnknown · CVE-2026-71514 · fixed in 3.10.3 · 22 Aug 2026
- NLTK AllowlistUnpickler dotted-name validation bypass allows remote code executionUnknown · CVE-2026-71513 · fixed in 3.10.3 · 22 Aug 2026
- NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtrackingUnknown · CVE-2026-72818 · fixed in 3.10.1 · 21 Aug 2026
- nltk: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded SequencesUnknown · CVE-2026-12243 · no fix recorded · 14 Aug 2026
- NLTK network URL validation permits SSRF to RFC 6598 shared-address-space hostsUnknown · CVE-2026-12372 · no fix recorded · 10 Aug 2026
- NLTK downloader allows cross-package resource and model poisoningUnknown · CVE-2026-12261 · fixed in 3.10.0 · 7 Aug 2026
- Natural Language Toolkit (NLTK): DNS-rebinding SSRF filter bypass in nltk.pathsec.urlopen (nltk.download /…Unknown · CVE-2026-12075 · fixed in 3.10.0 · 31 Jul 2026
- Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regexUnknown · CVE-2026-12061 · fixed in 3.10.0 · 31 Jul 2026
- Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypass…Unknown · CVE-2026-12072 · fixed in 3.10.0 · 31 Jul 2026
- Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XM…Unknown · CVE-2026-12074 · fixed in 3.10.0 · 31 Jul 2026
- NLTK vulnerable to Eval Injection via collocations CLI argumentsUnknown · CVE-2025-71408 · fixed in 3.9.3 · 25 Jul 2026
- NLTK Stanford wrapper classes execute untrusted JAR files without verificationUnknown · CVE-2026-12252 · fixed in 3.9.4 · 4 Jul 2026
- Natural Language Toolkit (NLTK): URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File…Unknown · CVE-2026-54293 · fixed in 3.10.0 · 16 Jun 2026
- NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File OverwriteUnknown · CVE-2026-33236 · fixed in 3.9.4 · 19 Mar 2026
- Unauthenticated remote shutdown in nltk.app.wordnet_appUnknown · CVE-2026-33231 · fixed in 3.9.4 · 19 Mar 2026
- Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nltkUnknown · CVE-2026-33230 · fixed in 3.9.4 · 19 Mar 2026
- Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoSUnknown · CVE-2026-66393 · fixed in 3.9.4 · 19 Mar 2026
- NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()Unknown · CVE-2026-0846 · no fix recorded · 10 Mar 2026
- NLTK versionsUnknown · CVE-2026-0848 · fixed in 3.9.3 · 6 Mar 2026
- NLTK has a Path Traversal issueUnknown · CVE-2026-0847 · fixed in 3.9.3 · 5 Mar 2026
- NLTK has a Zip Slip VulnerabilityUnknown · CVE-2025-14009 · fixed in 3.9.3 · 19 Feb 2026
- ntlk unsafe deserialization vulnerabilityUnknown · CVE-2024-39705 · fixed in 3.9 · 28 Jun 2024
- NLTK Vulnerable to REDoSUnknown · CVE-2021-3842 · fixed in 3.6.6 · 7 Jan 2022
- Inefficient Regular Expression Complexity in nltk (word_tokenize, sent_tokenize)Unknown · CVE-2021-43854 · fixed in 3.6.5 · 6 Jan 2022
- NLTK Vulnerable to REDoSUnknown · CVE-2021-3828 · fixed in 3.6.4 · 29 Sep 2021
- NLTK Vulnerable To Path TraversalUnknown · CVE-2019-14751 · fixed in 3.4.5 · 24 Aug 2019