Denial of Service Vulnerability in NLTK Natural Language Toolkit
CVE-2026-129231

5.3MEDIUM

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-129231?

NLTK (Natural Language Toolkit) is an open-source suite of Python modules that supports research in Natural Language Processing. A vulnerability prior to version 3.10.4 exists in the SeekableUnicodeStreamReader.readline function, which may lead to excessive CPU consumption. By leveraging a specially crafted corpus file with a long unterminated line, attackers can exploit this flaw, causing inefficient processing in line-oriented corpus readers. This issue can result in service disruptions, affecting users dependent on the toolkit for their Natural Language Processing tasks. Upgrading to version 3.10.4 is essential to mitigate this risk.

Affected Version(s)

nltk < 3.10.4

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.