pypy-sqlparse: sqlparse is a non-validating SQL parser module for Python
CVE-2026-71491 is fixed in 4 products on 1 platform, first by pypy-sqlparse 0.2.4-0.1ubuntu0.1+esm1, released August 17, 2026. It is not reported as exploited. Patch Radar priority: High.
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, group_comments in sqlparse/engine/grouping.py repeatedly rescans comment-only statements before the MAX_GROUPING_TOKENS guard, causing quadratic CPU consumption through sqlparse.parse() and sqlparse.format(sql, strip_comments=True). This issue is fixed in version 0.6.0.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| pypy-sqlparse · Ubuntu 18.04.6 LTS (bionic) | 0.2.4-0.1ubuntu0.1+esm1 | pypy-sqlparse 0.2.4-0.1ubuntu0.1+esm1 | Aug 17, 2026 |
| pypy-sqlparse · Ubuntu 20.04 LTS (focal) | 0.2.4-3ubuntu0.1+esm1 | pypy-sqlparse 0.2.4-3ubuntu0.1+esm1 | Aug 17, 2026 |
| python-sqlparse · RHEL 10 | 0.6.0-1.el10ap | RHSA-2026:71112 | Aug 17, 2026 |
| python-sqlparse · Ubuntu 18.04.6 LTS (bionic) | 0.2.4-0.1ubuntu0.1+esm1 | python-sqlparse 0.2.4-0.1ubuntu0.1+esm1 | Aug 17, 2026 |
| python-sqlparse · opensuse-leap 16.0 | 0.5.3-160000.4.1 | OPENSUSE-SU-2026:21690-1 | Aug 30, 2026 |
| python-sqlparse · sles 15.6 | 0.4.4-150600.3.9.1 | SUSE-SU-2026:3907-1 | Sep 1, 2026 |
| python-sqlparse · sles 15.7 | 0.4.4-150600.3.9.1 | SUSE-SU-2026:3907-1 | Sep 1, 2026 |
| python-sqlparse · sles 16.0 | 0.5.3-160000.4.1 | SUSE-SU-2026:23561-1 | Aug 30, 2026 |
| python3-sqlparse · Ubuntu 18.04.6 LTS (bionic) | 0.2.4-0.1ubuntu0.1+esm1 | python3-sqlparse 0.2.4-0.1ubuntu0.1+esm1 | Aug 17, 2026 |
| python3-sqlparse · Ubuntu 20.04 LTS (focal) | 0.2.4-3ubuntu0.1+esm1 | python3-sqlparse 0.2.4-3ubuntu0.1+esm1 | Aug 17, 2026 |
| python3-sqlparse · Ubuntu 22.04.1 LTS (jammy) | 0.4.2-1ubuntu0.22.04.3 | python3-sqlparse 0.4.2-1ubuntu0.22.04.3 | Aug 17, 2026 |
| python3-sqlparse · Ubuntu 24.04.5 LTS (noble) | 0.4.4-1ubuntu0.2 | python3-sqlparse 0.4.4-1ubuntu0.2 | Aug 17, 2026 |
| python3-sqlparse · Ubuntu 26.04.1 LTS (resolute) | 0.5.4-1ubuntu0.1 | python3-sqlparse 0.5.4-1ubuntu0.1 | Aug 17, 2026 |
| python3-sqlparse · sles 15.6 | 0.4.2-150300.23.1 | SUSE-SU-2026:3906-1 | Sep 1, 2026 |
| python3-sqlparse · sles 15.7 | 0.4.2-150300.23.1 | SUSE-SU-2026:3906-1 | Sep 1, 2026 |
| sqlformat · Ubuntu 18.04.6 LTS (bionic) | 0.2.4-0.1ubuntu0.1+esm1 | sqlformat 0.2.4-0.1ubuntu0.1+esm1 | Aug 17, 2026 |
| sqlformat · Ubuntu 20.04 LTS (focal) | 0.2.4-3ubuntu0.1+esm1 | sqlformat 0.2.4-3ubuntu0.1+esm1 | Aug 17, 2026 |
| sqlformat · Ubuntu 22.04.1 LTS (jammy) | 0.4.2-1ubuntu0.22.04.3 | sqlformat 0.4.2-1ubuntu0.22.04.3 | Aug 17, 2026 |
| sqlformat · Ubuntu 24.04.5 LTS (noble) | 0.4.4-1ubuntu0.2 | sqlformat 0.4.4-1ubuntu0.2 | Aug 17, 2026 |
| sqlformat · Ubuntu 26.04.1 LTS (resolute) | 0.5.4-1ubuntu0.1 | sqlformat 0.5.4-1ubuntu0.1 | Aug 17, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.