Inefficient Regular Expression Complexity
CVE-2026-80205
Summary
NLTK versions prior to 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.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-1333 - Inefficient Regular Expression Complexity
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Advisory Timeline
- Published