PT-2026-76749

CVE-2026-54284

·

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 sqlparse contains an issue where the construction of TokenList and subsequent string conversion repeatedly flatten nested token subtrees. This occurs when processing SQL with deep nesting, such as numerous parentheses or CASE WHEN chains, leading to quadratic CPU consumption. This behavior can be triggered via the sqlparse.parse(), sqlparse.format(), and sqlparse.split() functions. Even when internal depth and token limits are reached, the process of reaching those limits is superlinear, allowing a small malicious payload (e.g., 1-2 KB) to consume significant CPU resources for several seconds, potentially leading to a denial of service by exhausting available worker processes.
Recommendations Update sqlparse to version 0.6.0 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-PWGV-4X5Q-6M9F
CLEANSTART-2026-AA29461
CLEANSTART-2026-EC11110
CLEANSTART-2026-MQ51708
CLEANSTART-2026-TN13603
CLEANSTART-2026-XN67293
ECHO-5D2B-9E8C-BDEC
OESA-2026-4218
OESA-2026-4219
OPENSUSE-SU-2026:11557-1
OPENSUSE-SU-2026:21690-1
PYSEC-2026-3699
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 👾