Resource exhaustion in Sqlparse - CVE-2026-84305
Published: August 13, 2026 / Updated: September 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled resource consumption in ReindentFilter when formatting attacker-controlled SQL with reindentation enabled. A remote attacker can supply a specially crafted parenthesized tuple-list input to cause a denial of service.
The issue is reachable through sqlparse.format(sql, reindent=True) and the sqlformat --reindent mode.
Affected software
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Public Cloud Module
SUSE Package Hub 15
Python 3 Module
openSUSE Leap
python2-sqlparse
python311-sqlparse
How to mitigate CVE-2026-84305
python2-sqlparse - update to 0.2.4-150100.6.14.1
python311-sqlparse - update to 0.4.4-150600.3.12.1