CISA list

● 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

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 3.10.43.10.484 advisories

Security advisories, newest first

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

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0