{"id":"CVE-2026-129231","published":"2026-11-19T17:16:42Z","modified":"2026-11-20T21:23:08Z","title":"NLTK: Quadratic-time DoS in SeekableUnicodeStreamReader.readline on an unterminated corpus line via per-iteration…","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, SeekableUnicodeStreamReader.readline appends each new block to a growing character buffer and reruns splitlines over the entire buffer on every iteration. An attacker-controlled corpus file containing one very long unterminated line therefore causes quadratic CPU consumption in line-oriented corpus readers and can deny service. This issue is fixed in version 3.10.4.","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.00479,"percentile":0.42227,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-q4c8-9gwf-255x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nltk/nltk/pull/3895","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.4","tags":["x_refsource_MISC"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":8.45},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/googlesky/CVE-2026-129231","repos":[{"name":"googlesky/CVE-2026-129231","url":"https://github.com/googlesky/CVE-2026-129231","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-129231"},"provenance":"source"},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.10.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-20T21:23:01.190223Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.4"],"patched":["3.10.4"],"from":["GHSA-q4c8-9gwf-255x"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-130491","exploited":false,"provenance":"source"}}