- Published on
sqlparse 0.6.1, the project's final release, fixed two bugs we reported in its formatter. A newline-splitting regex went quadratic on quotes that never close, so 16 KB of backslash-quote pairs could cost seconds of CPU (CWE-1333), and the PHP output mode escaped backslashes and double quotes but not the dollar sign, so SQL text could run as PHP (CWE-94). We take both apart, show how to reproduce them safely, and look at what it means to depend on a library that has stopped shipping fixes. Tracked as GHSA-3r5h-5jcg-gmgg and GHSA-xmww-55xg-h3vc (CVE-2026-112307).