NLTK versions before 3.10.0 contain a regular expression...
High severity
Unreviewed
Published
Aug 26, 2026
to the GitHub Advisory Database
•
Updated Aug 26, 2026
Description
Published by the National Vulnerability Database
Aug 26, 2026
Published to the GitHub Advisory Database
Aug 26, 2026
Last updated
Aug 26, 2026
NLTK versions before 3.10.0 contain a regular expression denial of service vulnerability in Text.findall() and TokenSearcher.findall() methods that accept user-supplied regular expressions without validation or timeout. Attackers can supply crafted regex patterns that cause catastrophic backtracking, resulting in indefinite CPU saturation and denial of service to all users of the Python process.
References