CVE-2026-54284

EUVD-2026-60313
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by group_parenthesis and group_case, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split() before depth and token limits terminate processing. This issue is fixed in version 0.6.0.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
UNKNOWN
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 24.06%
Debian logo
Debian Releases
Debian Product
Codename
sqlparse
bookworm
postponed
forky
vulnerable
sid
vulnerable
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
sqlparse
bionic
Fixed 0.2.4-0.1ubuntu0.1+esm1
released
focal
Fixed 0.2.4-3ubuntu0.1+esm1
released
jammy
Fixed 0.4.2-1ubuntu0.22.04.3
released
noble
Fixed 0.4.4-1ubuntu0.2
released
resolute
Fixed 0.5.4-1ubuntu0.1
released
xenial
Fixed 0.1.18-1ubuntu0.1~esm1
released
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
python3-sqlparse
suse enterprise sap 15 SP6
0.4.2-150300.23.1
fixed
suse enterprise server 15 SP4
0.4.2-150300.23.1
fixed
suse enterprise server 15 SP6
0.4.2-150300.23.1
fixed
python311-sqlparse
suse enterprise sap 15 SP6
0.4.4-150600.3.9.1
fixed
suse enterprise server 15 SP4
0.4.4-150400.6.16.1
fixed
suse enterprise server 15 SP6
0.4.4-150600.3.9.1
fixed