PT-2026-76736

CVE-2026-71491

·

Published

2026-08-17

·

Updated

2026-10-23

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions sqlparse versions prior to 0.6.0
Description A Denial of Service (DoS) issue exists where a statement consisting of numerous single-line comments can cause quadratic CPU consumption. This occurs because the group comments() function in sqlparse/engine/grouping.py repeatedly rescans comment-only statements, bypassing the MAX GROUPING TOKENS guard. The issue is reachable via the sqlparse.parse() function and the sqlparse.format() function when the strip comments parameter is set to True. This is particularly critical as it affects the primary sanitizer path used by ORMs, SQL firewalls, and query loggers.
Recommendations Update to version 0.6.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-F2FF-P2WW-7P4P
CLEANSTART-2026-EC11110
CLEANSTART-2026-HH21892
CLEANSTART-2026-MQ51708
CLEANSTART-2026-NU38917
CLEANSTART-2026-PH27311
ECHO-F355-4A28-B67E
OESA-2026-4218
OESA-2026-4219
OPENSUSE-SU-2026:11557-1
OPENSUSE-SU-2026:21690-1
PYSEC-2026-3697
RHLW-2026-7CB565D499929657
RHSA-2026:71112
RHSA-2026:71113
RHSA-2026:71114
SUSE-SU-2026:23561-1
SUSE-SU-2026:3762-1
SUSE-SU-2026:3906-1
SUSE-SU-2026:3907-1
SUSE-SU-2026:3910-1
USN-8808-1
Found an issue in the description? Have something to add? Feel free to write us 👾