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

5.3MEDIUM

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-129232?

The Natural Language Toolkit (NLTK) is a comprehensive suite of tools for Natural Language Processing. In versions prior to 3.10.4, a vulnerability was identified in XMLCorpusView.read_block, which processes deeply nested XML structures in a manner that can lead to significant performance degradation. Specifically, the method reconstructs the entire path context for every start tag in a way that, when faced with attacker-controlled corpus XML data, causes excessive computational effort known as quadratic complexity. This flaw can effectively consume processing resources, leading to service interruptions and denial of service. The issue has been addressed in NLTK version 3.10.4, which mitigates this behavior.

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

.