Inefficient Algorithmic Complexity in Natural Language Toolkit - #VU142777
Published: August 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient algorithmic complexity in nltk.stem.PorterStemmer.stem() when processing a token containing a long run of the letter \'y\' followed by a suffix such as \'ness\'. A remote attacker can submit a specially crafted token to cause a denial of service.
The issue affects single-process availability only and does not impact confidentiality or integrity.