VulnWatch by ve1ve2
medium 5.3 EPSS 0.48%

CVE-2026-129231: NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Proc…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-129231 ↗

CWE-400CWE-407

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. References: https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412 https://github.com/nltk/nltk/pull/3895 https://github.com/nltk/nltk/releases/tag/v3.10.4 https://github.com/nltk/nltk/security/advisories/GHSA-q4c8-9gwf-255x https://github.com/nltk/nltk/security/advisories/GHSA-q4c8-9gwf-255x

Linked vulnerabilities (2)

CVE-2026-129231 medium 5.3 EPSS 0.48% (p42) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

nltk: nltk: Denial of Service via excessively long input lines in SeekableUnicodeStreamReader

CWE: CWE-770, CWE-400, CWE-407Aliases: GHSA-q4c8-9gwf-255xNVD: Awaiting Analysis
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

NLTK: Quadratic-time DoS in SeekableUnicodeStreamReader.readline on an unterminated corpus line via per-iteration full-buffer rescan

CWE: CWE-400, CWE-407Aliases: CVE-2026-129231

Also reported by (2)