Red Hat Lightwell has released sqlparse 0.5.5+rhlw.1 with backported fixes for CVE-2026-54284, CVE-2026-59893, CVE-2026-59894, CVE-2026-71491, and CVE-2026-84305.
CVE-2026-54284: sqlparse: TokenList.init materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger
CVE-2026-59893: sqlparse: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Service)
CVE-2026-59894: sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes
CVE-2026-71491: sqlparse: Quadratic O(n²) DoS in group_comments
CVE-2026-84305: sqlparse: Reindentation of tuple lists causes near-cap quadratic CPU consumption
This patched artifact is a drop-in replacement for sqlparse 0.5.5 from PyPI.