CVE-2026-129231
Published:November 19, 2026
Updated:November 20, 2026
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.
Affected Packages
nltk (CONDA):
Affected version(s) >=3.0.0b1 <3.10.4 || >=2.0.3 <3.10.4Fix Suggestion:
Update to version 3.10.4https://github.com/nltk/nltk.git (GITHUB):
Affected version(s) >=2.0.1rc1 <v3.10.4 || >=3.0a1 <v3.10.4 || >=3.9.2 <v3.10.4Fix Suggestion:
Update to version v3.10.4nltk (PYTHON):
Affected version(s) >=0.8 <3.10.4 || >=3.0.0b1 <3.10.4 || >=2.0b4 <3.10.4Fix Suggestion:
Update to version 3.10.4Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW