CVE-2026-129229

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.0 until 3.10.4, TokenSearcher.findall and Text.findall accept caller-controlled regular expressions with an unbounded number of capturing groups throughout the affected range. Starting in 3.10.3, nltk.redos.compile and RegexpTokenizer expose the same compile-time vector. The third-party regex engine compiles group-dense patterns with roughly quadratic cost before the match-time timeout begins, allowing a small unauthenticated request to exhaust CPU and deny service. This issue is fixed in version 3.10.4.
Configurations

No configuration.

History

20 Nov 2026, 22:17

Type Values Removed Values Added
References () https://github.com/nltk/nltk/security/advisories/GHSA-32p6-cwhc-8r78 - () https://github.com/nltk/nltk/security/advisories/GHSA-32p6-cwhc-8r78 -

19 Nov 2026, 18:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-19 18:18

Updated : 2026-11-20 22:17


NVD link : CVE-2026-129229

Mitre link : CVE-2026-129229

CVE.ORG link : CVE-2026-129229


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-1333

Inefficient Regular Expression Complexity