PatchSiren

nltk CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM nltk CVE published 2026-11-19

CVE-2026-129224

This PatchSiren debrief summarizes CVE-2026-129224, an uncontrolled recursion vulnerability in the NLTK library's CCG lexicon parser. The issue can cause a denial-of-service (DoS) via deeply nested category input. Affected versions are before 3.10.4, and the issue is fixed in version 3.10.4. The vulnerability has a medium severity and can be exploited through attacker-controlled lexicon strings with excessive nesting, potentially leading to a RecursionError and termination of the parse operation or request worker. Defenders should assess exposure and prioritize upgrading to version 3.10.4 or later.

MEDIUM NLTK CVE published 2026-11-19

CVE-2026-128136

CVE-2026-128136 NLTK: AllowlistUnpickler does not deny numpy submodule-local file-I/O sinks. The vulnerability exists in NLTK versions 3.10.0 through 3.10.3, where the allowlist unpickler improperly handles numpy submodule-local file-I/O sinks. This oversight allows potential arbitrary file read or write via crafted pickle files. Defenders should assess exposure, especially where model files from untrusted sources are processed, and prioritize remediation. The CVE record and source item detail the vulnerability, and defenders should verify and remediate affected NLTK installations.

MEDIUM nltk CVE published 2026-11-19

CVE-2026-129231

CVE-2026-129231 is a vulnerability in NLTK's SeekableUnicodeStreamReader.readline function, which can lead to a denial of service (DoS) due to quadratic CPU consumption when processing an attacker-controlled corpus file with a very long unterminated line. This issue arises because the readline function appends each new block to a growing character buffer and reruns splitlines over the entire buffer on every iteration. The vulnerability is particularly concerning in systems that process untrusted or user-supplied corpus files, as it can cause significant performance degradation and potential system resource exhaustion. Defenders should assess exposure and prioritize patching or miti

HIGH nltk CVE published 2026-11-16

CVE-2026-128134

CVE-2026-128134 NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element. This vulnerability affects NLTK versions prior to 3.10.4 and allows for potential privilege escalation. Defenders should assess exposure and prioritize verification and remediation efforts to prevent potential attacks. The vulnerability is caused by the dot2img function resolving the Graphviz dot executable through PATH but invoking the resulting absolute executable without routing through spawn_trusted, so resolve_trusted_executable ownership and writability validation and safe_env loader environment scrubbing do not run. A local low-priv

HIGH nltk CVE published 2026-09-02

CVE-2026-81726

CVE-2026-81726 is a path traversal vulnerability in NLTK through 3.10.3 model-artifact APIs. This vulnerability allows attackers to bypass pathsec enforcement by using raw file operations on caller-controlled paths, potentially leading to unauthorized file read or write operations outside allowed sandbox roots. Developers and administrators should review and update NLTK versions, implement compensating controls, and monitor for potential exploitation attempts. The CVE record was published on 2026-08-27T17:21:03.387Z and has not been modified since then.

MEDIUM nltk CVE published 2026-08-27

CVE-2026-81727

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-27T17:21:03.533Z and has not been modified since then. This CVE record indicates a medium-severity vulnerability in NLTK versions before 3.10.3, allowing attackers to overwrite files outside the install root through pre-existing hardlinks. The vulnerability is exploitable by attackers with write access to a shared downloader directory. Evidence is limited to CVE and NVD details. Defenders should verify NLTK version, downloader directory access controls, and monitor for suspicious activity. Users of NLTK versions before 3.10.3, especially those with shared downloader directories or untrusted users with write access, should be aware of this vulnerability. This includes developers, DevOps teams, and security personnel responsible for maintaining and securing software dependencies.

MEDIUM nltk CVE published 2026-08-27

CVE-2026-81725

The CVE-2026-81725 record indicates a regular expression denial of service vulnerability in NLTK's Pl196xCorpusReader. This vulnerability allows attackers to cause quadratic CPU consumption by supplying malformed TEI blocks with many unmatched opening tags, potentially leading to a denial of service through public APIs like words() and tagged_words(). The issue is resolved in NLTK version 3.10.3 or later. Affected organizations should review their NLTK deployments, prioritize upgrades to version 3.10.3 or later, and implement compensating controls to mitigate potential exposure. This includes monitoring for suspicious activity, limiting input to Pl196xCorpusReader, and ensuring proper asset inventory and risk assessment. The CVE record and related sources provide further details on the vulnerability and recommended actions for affected users.

MEDIUM NLTK CVE published 2026-08-27

CVE-2026-81724

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-27T17:21:03.100Z and has not been modified since then. The NVD entry is currently Analyzed. The vulnerability is caused by an uncontrolled recursion in nltk.featstruct.FeatStructReader, which allows unauthenticated attackers to cause a denial of service by supplying deeply nested feature-structure input. Attackers can craft trivial payloads with nested brackets that exceed Python's recursion limit and raise an unhandled RecursionError, crashing applications that parse user-supplied feature structures or feature grammars. The affected product, NLTK, is widely used in natural language processing tasks, and its vulnerability could lead to potential denial-of-service attacks. Organizations using NLTK before 3.10.3 should prioritize patching and monitoring to prevent potential denial-of-service attacks. Developers and administrators responsible for NLTK installations and configurations should take immediate action to secure their systems. Additionally, security teams and vulnerability management teams should be aware of the potential risks and take steps to mitigate them.

MEDIUM nltk CVE published 2026-08-27

CVE-2026-81723

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-27T17:21:02.957Z and has not been modified since then. 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 severe CPU consumption and denial of service through affected readers like BNCCorpusReader. This issue can lead to significant performance degradation and potential system instability if not addressed. Users of NLTK versions before 3.10.3, particularly those using affected readers like BNCCorpusReader, should be aware of this vulnerability and take defensive actions. This includes reviewing and verifying affected product deployments in managed environments, and implementing compensating controls for CPU consumption. Security teams and vulnerability management teams should prioritize patching or upgrading to version 3.10.3 or later.

HIGH nltk CVE published 2026-08-26

CVE-2026-80205

The CVE-2026-80205 vulnerability affects NLTK versions before 3.10.0, specifically in the Text.findall() and TokenSearcher.findall() methods. These methods accept user-supplied regular expressions without validation or timeout, allowing attackers to supply crafted regex patterns that cause catastrophic backtracking. This results in indefinite CPU saturation and denial of service to all users of the Python process. The vulnerability has a HIGH CVSS score of 8.7, indicating a high severity. Users of NLTK versions before 3.10.0 should be aware of the potential denial of service vulnerability and take defensive actions. The CVE record was published on 2026-08-26T11:16:39.950Z and has not been modified since then.

HIGH nltk CVE published 2026-08-25

CVE-2026-79676

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-25T16:17:28.177Z and has not been modified since then. The NVD entry is currently Analyzed. Organizations using NLTK versions before 3.10.3 should be aware of the potential path traversal vulnerability and take steps to patch or mitigate the vulnerability. This includes reviewing and updating corpus reader methods, implementing compensating controls, and monitoring for potential attacks. Security teams and vulnerability management teams should prioritize patching and verifying the vulnerability in their environments. The vulnerability has a CVSS score of 8.2 and is classified as HIGH.

CRITICAL nltk CVE published 2026-08-25

CVE-2026-79675

The NLTK library before version 3.10.3 contains a critical vulnerability (CVE-2026-79675) that allows attackers to inject malicious JVM flags through the per-call options parameter in the java() function. This can lead to arbitrary code execution, with a CVSS score of 9.3. The vulnerability is caused by inadequate validation of JVM options passed to the java() function, enabling attackers to supply dangerous flags like -agentpath, -javaagent, or @argfile to Stanford wrapper classes. Developers and administrators using the NLTK library, especially those who utilize the java() function, should be aware of this critical vulnerability. Immediate action is required to patch systems and prevent potential exploitation. The CVE record was published on 2026-08-25T16:17:28.013Z and has not been modified since then. The NVD entry is currently Analyzed. Affected systems should be prioritized for patching to prevent potential code execution.

HIGH nltk CVE published 2026-08-25

CVE-2026-79674

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-25T16:17:27.873Z and has not been modified since then. The NVD entry is currently Analyzed. 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 LinThesaurusCorpusReader and PanLexLiteCorpusReader constructors to access filesystem content and SQLite databases outside the pathsec sandbox boundary. This vulnerability has a HIGH CVSS score of 8.8, indicating a high level of severity. Organizations using NLTK versions before 3.10.3 should prioritize patching and monitoring to prevent potential attacks. This includes developers, security teams, and system administrators responsible for maintaining and securing systems that utilize NLTK. Limited evidence suggests that this vulnerability may be exploited in the wild, but defenders should take a cautious approach to mitigate potential risks. This may involve implementing additional security controls, such as restricting access to sensitive data and systems, and conducting regular security audits to identify potential vulnerabilities. Compensating controls should be reviewed for exposed systems while remediation is scheduled and verified. Monitoring, detection, and logs for exposed assets should be checked for extra review. Exceptions, retest remediated assets, and close the item only after evidence is documented.

CRITICAL nltk CVE published 2026-08-25

CVE-2026-79657

The NLTK library versions before 3.10.3 contain a remote code execution vulnerability due to insecure pickle deserialization. This vulnerability is caused by allowlisted pickle loaders trusting entire module namespaces instead of specific safe callables, allowing attackers to craft malicious pickle payloads and execute arbitrary commands during model or tokenizer artifact loading. The vulnerability affects developers and administrators using NLTK versions before 3.10.3. To mitigate this vulnerability, it is recommended to upgrade to version 3.10.3 or later. Additionally, access to NLTK's pickle loading functionality should be restricted, and security measures should be implemented to detect and prevent suspicious pickle payloads. A coordinated effort is required across development, operations, and security teams to effectively mitigate and remediate this vulnerability.

CRITICAL nltk CVE published 2026-08-25

CVE-2026-78683

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-25T02:16:53.033Z and has not been modified since then. The NVD entry is currently Analyzed. The NLTK library before version 3.10.0 contains an unsafe pickle deserialization vulnerability in the TransitionParser.parse() method. This method calls pickle_load() with the default restricted=False, allowing for arbitrary class resolution and execution of embedded pickle gadget chains when loading attacker-crafted model files. The vulnerability is caused by the method's use of the WarningUnpickler class, which does not override the find_class() method, thereby permitting arbitrary class resolution. This vulnerability can be exploited by an attacker who can provide a specially crafted model file to a vulnerable application, leading to arbitrary Python code execution with the privileges of the user running the application. Affected versions are <= 3.9.4, and the issue is fixed in version 3.10.0. The vulnerability has a CVSS score of 9.4 and is considered CRITICAL. To verify and mitigate this vulnerability, defenders should review the NLTK library usage in their applications, especially where untrusted input may be processed. They should also ensure that any custom or third-party models used with NLTK are safe and do not contain malicious pickle gadget chains. Developers and administrators using NLTK versions <= 3.9.4 should be aware of this critical vulnerability and take immediate action to patch or mitigate it. This includes reviewing and updating any custom or third-party models used with NLTK, restricting access to sensitive data and systems that use vulnerable NLTK versions, and monitoring for suspicious activity related to NLTK usage. Additionally, security teams and vulnerability management teams should prioritize patching and verifying the safety of NLTK usage in their environments.

HIGH nltk CVE published 2026-08-25

CVE-2026-78681

The CVE-2026-78681 vulnerability affects NLTK versions before 3.10.3, which use xml.etree.ElementTree to parse XML in multiple modules. This allows entity declarations in document DTDs to be honored, enabling attackers to craft XML payloads with nested entity declarations. These payloads can expand from hundreds of bytes to megabytes in memory, causing denial of service. Users of affected NLTK versions should be aware of this HIGH severity vulnerability and take steps to mitigate it. The CVE record was published on 2026-08-25T02:16:52.750Z and has not been modified since then. To address this vulnerability, users should assess their NLTK installations, apply vendor-provided patches or updates, and implement compensating controls.

HIGH nltk CVE published 2026-08-25

CVE-2026-78680

CVE-2026-78680 is a high-severity vulnerability in NLTK versions before 3.10.3. The vulnerability allows attackers to execute arbitrary code by manipulating the search path or current working directory to invoke a malicious Graphviz dot binary instead of the legitimate one. This issue arises from NLTK's failure to use validated absolute paths when invoking the Graphviz dot binary in dependencygraph.dot2img and AlignedSent._repr_svg_. Defenders responsible for NLTK deployments, particularly those using versions before 3.10.3, should assess exposure and verify the integrity of the Graphviz dot binary in their environments. The vulnerability has a high CVSS score of 8.5, indicating a

HIGH nltk CVE published 2026-08-22

CVE-2026-70626

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-22T15:16:21.100Z and has not been modified since then. 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 due to inadequate path validation. This vulnerability exists because path validation is lexical and does not account for symlink resolution, enabling attackers to place symlinks inside the corpus root to access files outside the intended boundary. Affected users should prioritize patching for high-risk local exposures. The vulnerability's impact on operational security and potential data exposure requires immediate attention from affected stakeholders. Therefore, it is critical to prioritize patching and implement compensating controls where patching is not feasible in the short term. Additionally, maintaining an inventory of affected systems and tracking remediation progress will help ensure that all vulnerable instances are addressed promptly and efficiently.

HIGH nltk CVE published 2026-08-22

CVE-2026-65915

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-22T15:16:19.500Z and has not been modified since then. The vulnerability affects NLTK versions before 3.10.0, which contain a logic bug in FileSystemPathPointer.open() that makes the sandbox validation check permanently inert. This allows attackers to pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files. The bug impacts applications using NLTK for natural language processing tasks, particularly those involving file input/output operations. Developers and administrators should be aware of the arbitrary file read vulnerability and take mitigation steps, such as upgrading to NLTK version 3.10.0 or later, restricting access to nltk.data.load(), and monitoring for suspicious file access patterns.

HIGH nltk CVE published 2026-08-22

CVE-2026-63312

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-22T15:16:19.367Z and has not been modified since then. CVE-2026-63312 is a HIGH-rated vulnerability in NLTK's StreamBackedCorpusView before version 3.10.0. Attackers can read arbitrary local files by bypassing pathsec.ENFORCE via direct calls to builtins.open(), controlling the fileid argument. This vulnerability has a CVSS score of 8.7, indicating a high severity level. Affected systems may be exposed to unauthorized file access, potentially leading to sensitive information disclosure. Users of NLTK versions before 3.10.0, especially those handling sensitive data or with exposure to untrusted input, should be aware of this vulnerability. This includes developers, data scientists, and security teams who use or manage NLTK installations. Additionally, operators of systems that process sensitive information or are subject to regulatory compliance may need to prioritize remediation to prevent potential data breaches.

HIGH nltk CVE published 2026-08-22

CVE-2026-62384

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-22T15:16:18.700Z and has not been modified since then. This vulnerability affects NLTK versions before 3.10.2, specifically in the FramenetCorpusReader, allowing for a symlink-based sandbox bypass. This could enable attackers to read arbitrary XML files outside the corpus root. Organizations should be aware of the potential risks and take necessary precautions.

LOW nltk CVE published 2026-08-22

CVE-2026-71514

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-22T14:16:33.560Z and has not been modified since then. The CrubadanCorpusReader in NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability. The _load_lang_ngrams function joins the corpus root with crubadan_code, read from the corpus table.txt mapping file, and opens the result using the built-in open() function instead of a pathsec-validated opener. This allows attackers to disclose file contents outside the corpus root through lang_freq, limited to paths ending in -3grams.txt.

HIGH nltk CVE published 2026-08-22

CVE-2026-71513

CVE-2026-71513 is a remote code execution vulnerability in NLTK's AllowlistUnpickler. The vulnerability validates only the pickle module string and not the global name, allowing attackers to resolve dotted names by attribute traversal to callables outside the allowlisted namespace. This could lead to arbitrary command execution when TransitionParser.parse loads the model through allowlisted_pickle_load. Defenders should assess exposure, particularly for those using transition-parser models, and prioritize verification and remediation.

HIGH nltk CVE published 2026-08-20

CVE-2026-72818

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-20T22:18:05.087Z and has not been modified since then. The NVD entry is currently Received. Services that use the nltk library's TweetTokenizer, especially those handling untrusted social-media text, should prioritize patching to prevent potential high-impact attacks. This includes any service that applies the TweetTokenizer or the module-level casual_tokenize to submitted text without proper validation and safeguards. Operators of such services should review their deployments and prepare for updates or mitigations as needed. Vulnerability management and security teams should also be aware of the potential impact and plan accordingly. Additionally, platform providers that integrate the nltk library should assess their exposure and take necessary steps to protect their customers. Security teams should monitor for abnormal behavior and review compensating controls for exposed systems while remediation is scheduled and verified. Asset inventory and change management processes should also be reviewed to ensure timely patching and minimal disruption. Finally, incident response teams should be prepared to handle potential attacks and have a plan in place for rapid response and mitigation. The CVSS score of 8.7 indicates a high severity vulnerability, emphasizing the need for prompt action. By taking proactive steps, organizations can reduce their risk and protect against potential attacks. It is essential to apply the patch from version 3.10.1 or later and restrict input to the TweetTokenizer to prevent potential attacks. Furthermore, continuous monitoring and review of system logs and security event logs are crucial to detect and respond to potential security incidents. By prioritizing patching and taking defensive measures, organizations can minimize their exposure to this vulnerability and protect their assets. Security teams should also consider implementing compensating controls, such as rate limiting or IP blocking, to mitigate the risk of exploitation. Effective communication and coordination between security teams, IT operations, and management are The

LOW nltk CVE published 2026-08-09

CVE-2026-12372

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, fails to reject IPs in the RFC 6598 shared address space (`100.64.0.0/10`). This occurs because Python's `ipaddress` module does not classify such addresses as `is_private` or `is_global`, and the current guard only checks `is_private` and a few explicit categories. An attacker who can influence a URL passed to NLTK's network-loading helpers can exploit this vulnerability to make a strict-mode application send requests to shared-address-space hosts, potentially exposing non-public infrastructure reachable from the application host. The impact is limited to SSRF-style confidentiality exposure, with no code execution claimed. Developers and administrators using nltk/nltk versions 3.9.4 and the current develop branch should be aware of this vulnerability and take steps to address it to prevent potential confidentiality exposure. Limited evidence is available, and further verification is needed to fully understand the vulnerability's impact. The CVE record was published on 2026-08-09T23:16:35.793Z and has not been modified since then.

MEDIUM nltk CVE published 2026-08-03

CVE-2026-12259

The CVE record for CVE-2026-12259 was published on 2026-08-03T08:17:17.880Z and has not been modified since then. The NVD entry is currently Received. This vulnerability affects nltk version 3.9.4, allowing attackers to tamper with package responses, potentially leading to malicious package installation. The vulnerability can be exploited through a compromised mirror, malicious proxy, or other source-substitution condition. Users and applications relying on nltk version 3.9.4 for package downloads should verify their installations and monitor for suspicious activity. This includes developers using nltk for natural language processing tasks, security teams monitoring for potential vulnerabilities, and operators managing systems that utilize nltk. They should be aware of the potential for malicious package installation and take steps to mitigate this risk. The evidence for CVE-2026-12259 is limited, primarily based on official records indicating a vulnerability in nltk version 3.9.4 that allows for tampering with package responses. This could lead to the installation of malicious package bytes. Defenders should verify their nltk installations, check for suspicious activity, and ensure they are using the latest version of nltk. They should also monitor package downloads for integrity and be cautious of potential source-substitution conditions. AI-assisted PatchSiren debrief based on the supplied source corpus.

HIGH nltk CVE published 2026-07-04

CVE-2026-12252

CVE-2026-12252 is a high-severity vulnerability (CVSS Score: 7.8) affecting nltk/nltk versions 3.9.3 and earlier. The vulnerability exists in five Stanford interface classes: StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This allows for arbitrary code execution when loading untrusted JAR files. The vulnerability is identical to CVE-2026-0848, which was previously fixed for StanfordSegmenter by adding SHA256 verification. However, this fix was not applied to the affected classes, leaving them vulnerable.

HIGH nltk CVE published 2026-06-22

CVE-2026-54293

The NLTK library's path traversal vulnerability allows for arbitrary file reads, impacting NLP systems and Python developers using NLTK. Defenders should verify NLTK version 3.10.0-rc1 or later, adjust access controls, and monitor for anomalous filesystem access patterns. The vulnerability is fixed in version 3.10.0-rc1. This CVE record was published on 2026-06-22T19:17:20.983Z and has not been modified since then. The NVD entry is currently Modified. AI-assisted PatchSiren debrief based on the supplied source corpus.

HIGH nltk CVE published 2026-06-17

CVE-2026-12199

A vulnerability in `nltk.app.wordnet_app` up to version 3.9.3 allows unauthenticated remote shutdown of the local WordNet Browser HTTP server when started in its default mode. The server listens on all interfaces and processes a specific unauthenticated GET request to terminate the process immediately via `os._exit(0)`. This results in a denial of service, impacting service availability. The issue arises due to insufficient authentication and protection mechanisms for critical server functions. Affected product deployments should be reviewed for exposure, and owners should plan updates or mitigations.

HIGH nltk CVE published 2026-03-20

CVE-2026-33231

CVE-2026-33231 is a high-severity vulnerability in the Natural Language Toolkit (NLTK) that allows unauthenticated remote shutdown of the local WordNet Browser HTTP server. The vulnerability affects NLTK versions 3.9.3 and prior. A simple GET request can cause the process to terminate immediately, resulting in a denial of service. The issue was patched in commit bbaae83db86a0f49e00f5b0db44a7254c268de9b.