{"id":"CVE-2026-80206","published":"2026-08-26T10:28:15Z","modified":"2026-08-26T12:52:23Z","title":"NLTK 3.10.2 Regular Expression Denial of Service via tgrep","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"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 via re.search against tree node labels without any validation or timeout. An attacker who controls the tgrep pattern (e.g., via tgrep_positions() or tgrep_compile() exposed to external input) can supply a pattern that triggers catastrophic backtracking, causing indefinite CPU saturation that blocks the Python process.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0044,"percentile":0.3915,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-w3v8-gmh9-3wv7","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nltk-3.10.2-regular-expression-denial-of-service-via-tgrep","tags":["third-party-advisory"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":7.83},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.3"]}],"fixedVersions":[{"vendor":"nltk","product":"nltk","versions":["3.10.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-26T12:52:03.078501Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.3"],"patched":["3.10.3"],"from":["GHSA-w3v8-gmh9-3wv7","PYSEC-2026-3751"],"provenance":"source"}],"summary":{"text":"The tgrep module in NLTK before 3.10.3 passes user-supplied regular expressions embedded in /regex/ pattern nodes straight to re.search without validation or timeout, so the flaw lives in the _tgrep_node_action function of the nltk product. An attacker who can control the tgrep pattern over the network, with no authentication or user interaction and no special configuration, can supply a pattern that causes catastrophic backtracking and saturates CPU indefinitely, blocking the Python process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:16Z"},"euvd":{"id":"EUVD-2026-66397","exploited":false,"provenance":"source"}}