nltk
PyPI65 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting nltkpage 2 of 2
- CVE-2026-78681HIGHCVSS 7.5EG 7.5fixed in 3.10.32026-08-25
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 …
- CVE-2026-78682HIGHCVSS 7.5EG 7.5fixed in 3.10.32026-08-25
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 request…
- CVE-2026-78683CRITICALCVSS 9.6EG 9.6fixed in 3.10.02026-08-25
vulnerable: 0.8 ... 3.9b1 (65 versions)
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=Fals…
- CVE-2026-79657CRITICALCVSS 9.8EG 9.8fixed in 3.10.32026-08-25
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 dangerou…
- CVE-2026-79674HIGHCVSS 8.2EG 8.2fixed in 3.10.32026-08-25
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 LinThesaurusCorpu…
- CVE-2026-79675CRITICALCVSS 9.8EG 9.8fixed in 3.10.32026-08-25
vulnerable: 0.8 ... 3.9b1 (68 versions)
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…
- CVE-2026-79676MEDIUMCVSS 5.9EG 5.9fixed in 3.10.32026-08-25
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 symlin…
- CVE-2026-80205HIGHCVSS 7.5EG 7.5fixed in 3.10.02026-08-26
vulnerable: 0.8 ... 3.9b1 (65 versions)
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 suppl…
- CVE-2026-80206MEDIUMCVSS 5.9EG 5.9fixed in 3.10.32026-08-26
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 vi…
- CVE-2026-81722HIGHCVSS 7.5EG 7.5fixed in 3.10.32026-08-27
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 o…
- CVE-2026-81723LOWCVSS 3.7EG 3.7fixed in 3.10.32026-08-27
vulnerable: 0.8 ... 3.9b1 (68 versions)
NLTK versions before 3.10.3 contain a quadratic CPU exhaustion vulnerability in XMLCorpusView._read_xml_fragment() that rescans accumulated XML fragments on every 1 KiB block read. Attackers can provide malformed XML corpus files to cause …
- CVE-2026-81724MEDIUMCVSS 5.3EG 5.3fixed in 3.10.32026-08-27
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 cr…
- CVE-2026-81725LOWCVSS 3.7EG 3.7fixed in 3.10.32026-08-27
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 c…
- CVE-2026-81726HIGHCVSS 7.0EG 7.0fixed in 3.10.4 or 3.10.3, by version range2026-08-27
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 thr…
- CVE-2026-81727HIGHCVSS 7.1EG 7.1fixed in 3.10.32026-08-27
vulnerable: 0.8 ... 3.9b1 (68 versions)
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 hardli…
Check whether nltk is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for nltk CVEs against the assets you own.
Book a Demo →