PT-2026-151878
CVE-2026-129231
·
Published
2026-11-19
·
Updated
2026-11-19
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions
NLTK versions prior to 3.10.4
Description
In the
SeekableUnicodeStreamReader.readline() function, each new block is appended to a growing character buffer, and splitlines() is rerun over the entire buffer during every iteration. A specially crafted corpus file containing a single very long unterminated line can lead to quadratic CPU consumption in line-oriented corpus readers, resulting in a denial of service.Recommendations
Update to version 3.10.4.
Found an issue in the description? Have something to add? Feel free to write us 👾