Upstream information

CVE-2026-84305 at MITRE

Description

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route attacker-controlled parenthesized tuple lists through ReindentFilter._get_offset() in sqlparse/filters/reindent.py, where _flatten_up_to_token() repeatedly rebuilds and joins the statement prefix. Thousands of offset calculations walk an expanding token tree, producing quadratic CPU consumption for inputs that remain below MAX_GROUPING_TOKENS and causing request delays, reduced throughput, or worker starvation. This issue is fixed in version 0.6.0.

SUSE information

Overall state of this security issue: Revisit

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail SUSE
Base Score 4
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact Low
CVSSv3 Version 3.1
CVSS v4 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 5.1 5.1
Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Local Local
Attack Complexity Low Low
Attack Requirements None None
Privileges Required None None
User Interaction None None
Vulnerable System Confidentiality Impact None None
Vulnerable System Integrity Impact None None
Vulnerable System Availability Impact Low Low
Subsequent System Confidentiality Impact None None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1278097 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Public Cloud 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • python311-sqlparse >= 0.4.4-150400.6.19.1
Patchnames:
SUSE-SLE-Module-Public-Cloud-15-SP4-2026-4109
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Public Cloud 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • python311-sqlparse >= 0.4.4-150400.6.19.1
Patchnames:
SUSE-SLE-Module-Public-Cloud-15-SP5-2026-4109
SUSE Linux Enterprise Module for Package Hub 15 SP7
  • python2-sqlparse >= 0.2.4-150100.6.14.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-3978
openSUSE Leap 16.0
  • python313-sqlparse >= 0.5.3-160000.5.1
Patchnames:
openSUSE-Leap-16.0-1625

List of packages in QA

Product(s) Package(s)
SUSE Linux Enterprise Module for Public Cloud 15 SP6
  • python311-sqlparse >= 0.4.4-150600.3.12.1
SUSE Linux Enterprise Server 15 SP6
  • python311-sqlparse >= 0.4.4-150600.3.12.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • python311-sqlparse >= 0.4.4-150600.3.12.1
SUSE Linux Enterprise Module for Python 3 15 SP7
  • python311-sqlparse >= 0.4.4-150600.3.12.1
SUSE Linux Enterprise Server 15 SP7
  • python311-sqlparse >= 0.4.4-150600.3.12.1
SUSE Linux Enterprise Desktop 15 SP7
  • python311-sqlparse >= 0.4.4-150600.3.12.1
SUSE Linux Enterprise Server for SAP Applications 15 SP7
  • python311-sqlparse >= 0.4.4-150600.3.12.1
SUSE Linux Enterprise Server 16.0
  • python313-sqlparse >= 0.5.3-160000.5.1
SUSE Linux Enterprise Server for SAP applications 16.0
  • python313-sqlparse >= 0.5.3-160000.5.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP7 python-sqlparse In progress
SUSE Linux Enterprise Module for Package Hub 15 SP7 python-sqlparse Released
SUSE Linux Enterprise Module for Python 3 15 SP7 python-sqlparse In progress
SUSE Linux Enterprise Server 15 SP7 python-sqlparse In progress
SUSE Linux Enterprise Server 16.0 python-sqlparse In progress
SUSE Linux Enterprise Server 16.1 python-sqlparse Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP7 python-sqlparse In progress
SUSE Linux Enterprise Server for SAP applications 16.0 python-sqlparse In progress
SUSE Linux Enterprise Server for SAP applications 16.1 python-sqlparse Analysis
openSUSE Leap 16.0 python-sqlparse Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP5 python-sqlparse Released
SUSE Linux Enterprise Module for Public Cloud 15 SP4 python-sqlparse Released
SUSE Linux Enterprise Module for Public Cloud 15 SP5 python-sqlparse Released
SUSE Linux Enterprise Module for Python 3 15 SP6 python-sqlparse Affected
SUSE Linux Enterprise Server 15 SP4 python-sqlparse Released
SUSE Linux Enterprise Server 15 SP5 python-sqlparse Released
SUSE Linux Enterprise Server 15 SP6 python-sqlparse In progress
SUSE Linux Enterprise Server 15 SP6-LTSS python-sqlparse Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-sqlparse Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-sqlparse Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python-sqlparse In progress
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 python-sqlparse Affected
SUSE Enterprise Storage 6 python-sqlparse Affected
SUSE Enterprise Storage 7 python-sqlparse Affected
SUSE Linux Enterprise Desktop 15 SP1 python-sqlparse Affected
SUSE Linux Enterprise Desktop 15 SP2 python-sqlparse Affected
SUSE Linux Enterprise Desktop 15 SP6 python-sqlparse Affected
SUSE Linux Enterprise High Performance Computing 15 SP1 python-sqlparse Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS python-sqlparse Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS python-sqlparse Affected
SUSE Linux Enterprise High Performance Computing 15 SP2 python-sqlparse Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS python-sqlparse Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS python-sqlparse Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 python-sqlparse Released
SUSE Linux Enterprise Module for Basesystem 15 SP1 python-sqlparse Affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 python-sqlparse Affected
SUSE Linux Enterprise Module for Package Hub 15 SP1 python-sqlparse Affected
SUSE Linux Enterprise Module for Package Hub 15 SP2 python-sqlparse Affected
SUSE Linux Enterprise Module for Package Hub 15 SP3 python-sqlparse Affected
SUSE Linux Enterprise Module for Package Hub 15 SP4 python-sqlparse Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 python-sqlparse Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 python-sqlparse Affected
SUSE Linux Enterprise Module for Public Cloud 15 SP6 python-sqlparse In progress
SUSE Linux Enterprise Real Time 15 SP2 python-sqlparse Affected
SUSE Linux Enterprise Server 15 SP1 python-sqlparse Affected
SUSE Linux Enterprise Server 15 SP1-BCL python-sqlparse Affected
SUSE Linux Enterprise Server 15 SP1-LTSS python-sqlparse Affected
SUSE Linux Enterprise Server 15 SP2 python-sqlparse Affected
SUSE Linux Enterprise Server 15 SP2-BCL python-sqlparse Affected
SUSE Linux Enterprise Server 15 SP2-LTSS python-sqlparse Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-sqlparse Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-sqlparse Affected
SUSE Manager Proxy 4.0 python-sqlparse Affected
SUSE Manager Proxy 4.1 python-sqlparse Affected
SUSE Manager Proxy 4.3 python-sqlparse Released
SUSE Manager Retail Branch Server 4.0 python-sqlparse Affected
SUSE Manager Retail Branch Server 4.1 python-sqlparse Affected
SUSE Manager Retail Branch Server 4.3 python-sqlparse Released
SUSE Manager Server 4.0 python-sqlparse Affected
SUSE Manager Server 4.1 python-sqlparse Affected
SUSE Manager Server 4.3 python-sqlparse Released
openSUSE Leap 15.3 python-sqlparse Affected
openSUSE Leap 15.4 python-sqlparse Released
openSUSE Leap 15.5 python-sqlparse Affected
openSUSE Leap 15.6 python-sqlparse Affected


SUSE Timeline for this CVE

CVE page created: Wed Sep 2 12:18:04 2026
CVE page last modified: Sun Sep 13 11:52:14 2026