● PyPI package
nltk
Nltk has 84 security advisories. The newest release any of them names as the fix is 3.10.4.
As of , nltk has 84 security advisories. The newest release any of them names as the fix is 3.10.4.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 3.10.4 | 3.10.4 | 84 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-128135GHSA-wr3g-j6qj-xpgh | NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data rootHigh severity | From 3.9.4 before 3.10.4 | 3.10.4 | |
| CVE-2026-128136GHSA-c59x-vh6j-3w8v | NLTK: AllowlistUnpickler does not deny numpy submodule-local file-I/O sinksModerate severity | From 3.10.0 before 3.10.4 | 3.10.4 | |
| CVE-2026-128137GHSA-g58v-j9g9-5gfg | NLTK corpus-reader view methods bypass the scoped root sandbox via intermediate-directory symlinksModerate severity | From 3.9.4 before 3.10.4 | 3.10.4 | |
| CVE-2026-128138GHSA-x8q7-6c7m-52gw | NLTK incomplete fix: additional JVM/JAR sandbox bypass through unvalidated launcher tokens in java() command argumentsCritical severity | From 3.10.3 before 3.10.4 | 3.10.4 | |
| CVE-2026-128139GHSA-j8g8-j4j7-8j54 | NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of serviceHigh severity | From 3.6 before 3.10.4 | 3.10.4 | |
| CVE-2026-128140GHSA-pcm8-fqjx-rvx8 | NLTK: Downloader cyclic collection indices cause an infinite closure walkModerate severity | From 3.6.7 before 3.10.4 | 3.10.4 | |
| CVE-2026-129221GHSA-9ffx-rrgx-mhgx | NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class LabelsModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129222GHSA-rh8m-wqhc-qmrf | Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()High severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129223GHSA-8846-p9w9-5frf | Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversalHigh severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129224GHSA-3h95-x772-4765 | NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested category inputModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129225GHSA-xfcv-m889-fmqg | NLTK: Uncontrolled recursion in DependencyGraph traversal causes denial of service via deep dependency chainsModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129226GHSA-w3pv-xfw4-ghr7 | NLTK: Uncontrolled recursion in semantic-logic type parser causes denial of service via nested type stringsModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129227GHSA-63wh-5r5m-wxr7 | NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list inputModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129228GHSA-f2h2-f4fc-p978 | NLTK: Uncontrolled recursion in Toolbox settings helpers causes denial of service via deeply nested inputModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129229GHSA-32p6-cwhc-8r78 | NLTK: Compile-time regex DoS in NLTK search/tokenizer sinks: quadratic regex-engine compile bypasses the match-only timeoutHigh severity | From 3.10.0 before 3.10.4 | 3.10.4 | |
| CVE-2026-129230GHSA-53pg-5qp8-mhvr | NLTK: Uncontrolled recursion in WordNet Synset hypernym walkers (max_depth/min_depth/hypernym_paths/hypernym_distances) causes DoSModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129231GHSA-q4c8-9gwf-255x | NLTK: Quadratic-time DoS in SeekableUnicodeStreamReader.readline on an unterminated corpus line via per-iteration full-buffer rescanModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129232GHSA-cj8f-5fp3-6m88 | NLTK: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tagsModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-129233GHSA-w674-vqhw-g3pg | NLTK: StreamBackedCorpusView constructor os.stat leaks out-of-root file existence, size, and mtime bypassing pathsec ENFORCEModerate severity | From 3.10.0 before 3.10.4 | 3.10.4 | |
| CVE-2026-129234GHSA-cc5r-64rf-75hg | NLTK: Untrusted search path in prover9/mace4 config allows local code execution via relative binary_locationHigh severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-128134GHSA-7mxv-7h3q-9324 | NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH elementHigh severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-126302GHSA-xmfg-f9cm-w86q | NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databasesModerate severity | From 3.9.4 before 3.10.4 | 3.10.4 | |
| CVE-2026-126296GHSA-59f9-gqg8-mqpj | NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITEModerate severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-126299GHSA-89p3-fcch-88ph | NLTK: Quadratic-time CPU denial of service in CCG lexicon parser (fromstring) on wide bracket bodies and operator chainsHigh severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-126298GHSA-r53h-rw34-8h97 | NLTK: Quadratic-time CPU denial of service in Tree.chomsky_normal_form right-factor binarization via list.pop(0)High severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-126297GHSA-v8f3-6phw-6mh9 | NLTK: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescanHigh severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-126295GHSA-fg9w-wfp5-j933 | NLTK: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check, enabling arbitrary readModerate severity | From 3.10.0 before 3.10.4 | 3.10.4 | |
| CVE-2026-126301GHSA-gpwc-27cw-rh9r | NLTK: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loopModerate severity | From 3.6 before 3.10.4 | 3.10.4 | |
| CVE-2026-126300GHSA-ffr9-mgrr-wcvr | NLTK: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loopModerate severity | From 3.2.5 before 3.10.4 | 3.10.4 | |
| CVE-2026-126303GHSA-8fx7-8jr8-84rv | NLTK: Unbounded CPU consumption in SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammarsHigh severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-126304GHSA-qg35-44qx-7vrr | NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandboxHigh severity | From 3.10.0 before 3.10.4 | 3.10.4 | |
| CVE-2026-109956GHSA-j456-xh4h-cpf2 | NLTK: WekaClassifier passes an unvalidated caller-controlled model path to the weka JVM, bypassing nltk.pathsec containmentHigh severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-81723GHSA-vp2x-qp44-57v7, PYSEC-2026-3871 | NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`Moderate severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-12876GHSA-ff5c-cp5c-9wjf, PYSEC-2026-3869 | NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammarsModerate severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-78680GHSA-6hwm-xvph-95vm, PYSEC-2026-3868 | NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binaryHigh severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-81727GHSA-f794-5jv7-7672, PYSEC-2026-3741 | NLTK: Downloader.download follows hardlinks and overwrites outside-root filesModerate severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-81726GHSA-8mgp-746c-j5xp, PYSEC-2026-3740 | NLTK: Model-artifact APIs bypass pathsec and touch files outside allowed rootsHigh severity | Before 3.10.4 | 3.10.4 | |
| CVE-2026-81725GHSA-8mpw-7fpc-4gqj, PYSEC-2026-3752 | NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocksModerate severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-81724GHSA-cw6x-m8jw-qmrh, PYSEC-2026-3739 | NLTK: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure inputModerate severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-81722GHSA-ww6m-cw3f-q94g, PYSEC-2026-3738 | NLTK: Quadratic-time DoS in PorterStemmer via long runs of 'y'Moderate severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-80206GHSA-w3v8-gmh9-3wv7, PYSEC-2026-3751 | NLTK: ReDoS in nltk.tgrep via unvalidated user-supplied regular expressionsHigh severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-80205GHSA-rrv8-h7p8-rx55, PYSEC-2026-3750 | NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressionsHigh severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-79676GHSA-p4rw-rvv2-7xwr, PYSEC-2026-3737 | NLTK: Corpus readers follow symlinks outside trusted roots despite pathsec enforcementHigh severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-79675GHSA-m4rf-3fr8-xwx3, PYSEC-2026-3749 | NLTK: JVM argument injection bypass via per-call options in the NLTK Stanford wrappers (incomplete fix of CVE-2026-12841)Critical severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-79674GHSA-3gq4-3j92-5w49, PYSEC-2026-3736 | NLTK: Corpus Reader Sandbox BypassHigh severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-79657GHSA-x99w-6fgc-pmfw, PYSEC-2026-3735 | NLTK: Allowlisted pickle loaders still permit code execution in current sourceCritical severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-78683GHSA-rhp5-r9x4-f5g2, PYSEC-2026-3734 | NLTK: Unsafe Pickle Deserialization in TransitionParser Allows Remote Code ExecutionCritical severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-78682GHSA-6ww7-3frv-cqxh, PYSEC-2026-3733 | NLTK: pathsec SSRF protection can be bypassed when a proxy is configuredHigh severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-78681GHSA-97qj-x29f-37w7, PYSEC-2026-3748 | NLTK: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parsesHigh severity | Before 3.10.3 | 3.10.3 | |
| CVE-2026-71513GHSA-5gh2-94qg-qppq, PYSEC-2026-3867 | NLTK AllowlistUnpickler dotted-name validation bypass allows remote code executionHigh severity | From 3.10.0 before 3.10.3 | 3.10.3 | |
| CVE-2026-70626GHSA-r6gq-whwq-mvg9, PYSEC-2026-3732 | NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus rootHigh severity | Before 3.9.4 | 3.9.4 | |
| CVE-2026-65915GHSA-72r2-7mfr-5xr9, PYSEC-2026-3731 | NLTK: FileSystemPathPointer.open() sandbox check is dead code, arbitrary file read via file:// protocolModerate severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-63312GHSA-x5ph-mj9p-rfr8, PYSEC-2026-3730 | NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File ReadHigh severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-63311GHSA-3gqm-fcw5-w839, PYSEC-2026-3723 | NLTK: SSRF Fail-Open in validate_network_url() via DNS Resolution FailureModerate severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-62388GHSA-p3m8-78j2-g5p3, PYSEC-2026-3722 | NLTK: Default ENFORCE=False Disables All pathsec Security ControlsHigh severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-62385GHSA-568f-pv23-39p4, PYSEC-2026-3728 | NLTK: Stable FrameNet and NKJP readers parse outside-root XMLHigh severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-62384GHSA-f833-7jw8-xwrv, PYSEC-2026-3789 | NLTK: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292)High severity | From 3.10.0 before 3.10.2 | 3.10.2 | |
| CVE-2026-62383GHSA-3hhw-38pf-pxj6, PYSEC-2026-3726 | NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirelyModerate severity | From 3.10.0 before 3.10.2 | 3.10.2 | |
| CVE-2026-71514GHSA-cv22-g7mw-8v73, PYSEC-2026-3790 | NLTK CrubadanCorpusReader path traversal allows arbitrary file disclosureLow severity | From 3.9.4 before 3.10.3 | 3.10.3 | |
| CVE-2026-72818GHSA-qx2g-xrx7-vfh8, PYSEC-2026-3870 | NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtrackingHigh severity | Before 3.10.1 | 3.10.1 | |
| CVE-2026-12372GHSA-2jhm-w3mp-jcwr, PYSEC-2026-3955 | NLTK network URL validation permits SSRF to RFC 6598 shared-address-space hostsLow severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-12261GHSA-ffj6-66c4-86gw, PYSEC-2026-3954 | NLTK downloader allows cross-package resource and model poisoningModerate severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-12259CVE-2026-63310, GHSA-5wp5-5229-5g6q, PYSEC-2026-3729 and 1 more | NLTK: Missing Post-Download Integrity Verification Allows Malicious Package InjectionModerate severity | Up to and including 3.9.4 | No fixed version listed | |
| CVE-2026-12075GHSA-qvv7-cg9c-w4x3, PYSEC-2026-3583 | Natural Language Toolkit (NLTK): DNS-rebinding SSRF filter bypass in nltk.pathsec.urlopen (nltk.download / nltk.data.load) defeats ENFORCE modeHigh severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-12061GHSA-fg7f-2386-8897, PYSEC-2026-3582 | Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regexHigh severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-12072GHSA-6hm5-jgcp-p838, PYSEC-2026-3581 | Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypasses the nltk.pathsec sandbox (ENFORCE=True)High severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-12074GHSA-xh95-f55m-82fw, 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)High severity | Before 3.10.0 | 3.10.0 | |
| CVE-2025-71408GHSA-848c-c2cx-j7qx, PYSEC-2026-3657 | NLTK vulnerable to Eval Injection via collocations CLI argumentsHigh severity | Before 3.9.3 | 3.9.3 | |
| CVE-2026-12252GHSA-9r6g-266r-89x4, PYSEC-2026-2085 | NLTK Stanford wrapper classes execute untrusted JAR files without verificationHigh severity | Before 3.9.4 | 3.9.4 | |
| CVE-2026-12243GHSA-m42h-3232-vpv3, PYSEC-2026-597 | nltk: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded SequencesHigh severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-54293GHSA-p4gq-832x-fm9v, PYSEC-2026-2078 | Natural Language Toolkit (NLTK): URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File ReadHigh severity | Before 3.10.0 | 3.10.0 | |
| CVE-2026-33236GHSA-469j-vmhf-r6v7, PYSEC-2026-2237 | NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File OverwriteHigh severity | Before 3.9.4 | 3.9.4 | |
| CVE-2026-33231GHSA-jm6w-m3j8-898g, PYSEC-2026-2236 | Unauthenticated remote shutdown in nltk.app.wordnet_appHigh severity | Before 3.9.4 | 3.9.4 | |
| CVE-2026-33230GHSA-gfwx-w7gr-fvh7, PYSEC-2026-2235 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nltkModerate severity | Before 3.9.4 | 3.9.4 | |
| CVE-2026-66393GHSA-rf74-v2fm-23pw, PYSEC-2026-3724 | Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoSModerate severity | Before 3.9.4 | 3.9.4 | |
| CVE-2026-0846GHSA-h8wq-7xc4-p3qx, PYSEC-2026-97 | NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()High severity | Before 3.9.3 | 3.9.3 | |
| CVE-2026-0848PYSEC-2026-99 | NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. | Before 3.9.3 | 3.9.3 | |
| CVE-2026-0847GHSA-68j8-pq59-fqgm, PYSEC-2026-98 | NLTK has a Path Traversal issueHigh severity | Before 3.9.3 | 3.9.3 | |
| CVE-2025-14009GHSA-7p94-766c-hgjp, PYSEC-2026-96 | NLTK has a Zip Slip VulnerabilityCritical severity | Before 3.9.3 | 3.9.3 | |
| CVE-2024-39705GHSA-cgvx-9447-vcch, PYSEC-2024-167 | ntlk unsafe deserialization vulnerabilityHigh severity | Before 3.9 | 3.9 | |
| CVE-2021-3842GHSA-rqjh-jp2r-59cj, PYSEC-2022-5 | NLTK Vulnerable to REDoSHigh severity | Before 3.6.6 | 3.6.6 | |
| CVE-2021-43854GHSA-f8m6-h2c7-8h9x, PYSEC-2021-859 | Inefficient Regular Expression Complexity in nltk (word_tokenize, sent_tokenize)High severity | Before 3.6.6 | 3.6.6 | |
| CVE-2021-3828GHSA-2ww3-fxvq-293j, PYSEC-2021-356 | NLTK Vulnerable to REDoSHigh severity | Before 3.6.4 | 3.6.4 | |
| CVE-2019-14751GHSA-mr7p-25v2-35wr, PYSEC-2019-106 | NLTK Vulnerable To Path TraversalHigh severity | Before 3.4.5 | 3.4.5 |