Denial of Service Vulnerability in NLTK Python Modules by NLTK
CVE-2026-129229

7.5HIGH

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-129229?

NLTK (Natural Language Toolkit) versions from 3.10.0 to 3.10.4 are prone to a denial of service vulnerability. The issue arises when TokenSearcher.findall and Text.findall accept user-controlled regular expressions with an unbounded number of capturing groups, which may lead to significant CPU resource exhaustion. This vulnerability allows attackers to send small unauthenticated requests that exploit the compile-time nature of the regex engine, leading to potential service disruptions. It is crucial for users to upgrade to version 3.10.4 or later, where this issue has been addressed.

Affected Version(s)

nltk >= 3.10.0, < 3.10.4

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
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

.