ADVISORIES

SUSE Security Update

SUSE-SU-2026:3906-1

Security update for python3-sqlparse

Details

This update for python3-sqlparse fixes the following issues:

  • CVE-2026-54284: high algorithm complexity when parsing SQL payloads with hundreds of nesting levels can lead to denial

of service via excessive resource consumption (bsc#1275459).

  • CVE-2026-59893: quadratic complexity when processing unmatched dollar-quoted literal and multiline-comment delimiters

can lead to denial of service (bsc#1275461).

  • CVE-2026-59894: improper backlash escaping allows for injection of Python or PHP code via a crafted SQL input

(bsc#1275460).

  • CVE-2026-71491: quadratic complexity in group_comments when processing comment-only statements can lead to denial

of services (bsc#1275466).

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise Module for Basesystem 15 SP7python3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSpython3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSpython3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSpython3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSpython3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSpython3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise Server 15 SP5-LTSSpython3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise Server 15 SP6-LTSSpython3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4python3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5python3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6python3-sqlparse
All versions before 0.4.2-150300.23.1 (fixed in 0.4.2-150300.23.1)

References