Inefficient regular expression complexity in Sqlparse - CVE-2026-59893
Published: August 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in the dollar-quoted SQL literal lexer and multiline comment patterns when parsing user-supplied SQL text. A remote attacker can send specially crafted SQL input with unmatched dollar-quote delimiters or unterminated comment openers to cause a denial of service.
A single crafted request carrying SQL text is sufficient to trigger sustained CPU exhaustion.