What’s Vulnerable › Vulnerabilities

CVE-2026-80205: NLTK before 3.10.0 ReDoS via Text.findall() unvalidated regex

Description

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.

Affected products

How to fix

Upgrade to a fixed version: nltk 3.10.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-80205 or the next vulnerability affects your stack