Uncontrolled Recursion in Natural Language Toolkit - CVE-2026-12876
Published: August 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled recursion in RecursiveDescentParser and SteppingRecursiveDescentParser when parsing crafted ambiguous or left-recursive grammars. A remote attacker can provide a crafted grammar or input to cause a denial of service.
The issue can result in unbounded CPU consumption or exhaustion of the Python recursion stack, affecting availability of a single process.