Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-54284 →
Unrated

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...

UBUNTU-CVE-2026-54284 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:16.04:LTSsqlparse
< 0.1.18-1ubuntu0.1~esm1→ 0.1.18-1ubuntu0.1~esm1
Ubuntu:Pro:18.04:LTSsqlparse
< 0.2.4-0.1ubuntu0.1+esm1→ 0.2.4-0.1ubuntu0.1+esm1
Ubuntu:Pro:20.04:LTSsqlparse
< 0.2.4-3ubuntu0.1+esm1→ 0.2.4-3ubuntu0.1+esm1
Ubuntu:22.04:LTSsqlparse
< 0.4.2-1ubuntu0.22.04.3→ 0.4.2-1ubuntu0.22.04.3
Ubuntu:24.04:LTSsqlparse
< 0.4.4-1ubuntu0.2→ 0.4.4-1ubuntu0.2
Ubuntu:26.04:LTSsqlparse
< 0.5.4-1ubuntu0.1→ 0.5.4-1ubuntu0.1
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details