{"id":"CVE-2026-126300","published":"2026-11-13T09:36:25Z","modified":"2026-11-18T15:54:46Z","title":"NLTK from 3.2.5 before 3.10.4 CPU Exhaustion via TreebankWordTokenizer.span_tokenize","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"NLTK from 3.2.5 before 3.10.4 contains an algorithmic complexity vulnerability in TreebankWordTokenizer.span_tokenize that allows remote attackers to cause quadratic CPU consumption through repeated list.pop(0) calls. Attackers can submit long runs of double-quote characters to services span-tokenizing untrusted text, exhausting a CPU core and degrading availability.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00522,"percentile":0.45158,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-ffr9-mgrr-wcvr","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nltk-from-3.2.5-before-3.10.4-cpu-exhaustion-via-treebankwordtokenizer-span-tokenize","tags":["third-party-advisory"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":9.03},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":[">= 3.2.5, < 3.10.4"]}],"fixedVersions":[{"vendor":"nltk","product":"nltk","versions":["3.10.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-18T15:54:37.598662Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":[">=3.2.5, <3.10.4"],"patched":["3.10.4"],"from":["GHSA-ffr9-mgrr-wcvr"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-125221","exploited":false,"provenance":"source"}}