← Terug naar overzicht

NLTK versions before 3.10.0 are affected by a Regular Expression Denial of Service (ReDoS) vulnerability in the Text.findall() and TokenSearcher.findall() methods. These methods accept user-supplied regular expressions without any validation or timeout mechanisms. Attackers can craft malicious regex patterns that trigger catastrophic backtracking in the regex engine, leading to indefinite CPU saturation. This results in a denial of service condition affecting all users sharing the same Python process. The vulnerability is classified as high severity due to the ease of exploitation and broad impact on availability. The fix is available in NLTK version 3.10.0 and later. Users are advised to upgrade immediately to mitigate the risk.

Affected products

  • NLTK (Natural Language Toolkit) before 3.10.0

Related CVE's

  • CVE-2026-80205

Categories

  • Supply Chain & Dependencies
  • Web Technologies