ADVISORIES

SUSE Security Update

SUSE-SU-2026:3910-1

Security update for python-sqlparse

Details

This update for python-sqlparse fixes the following issues:

  • CVE-2026-54284: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps

trigger (bsc#1275459).

  • CVE-2026-59893: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (bsc#1275461).
  • CVE-2026-59894: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes

(bsc#1275460).

  • CVE-2026-71491: quadratic O(n2) DoS in group_comments (bsc#1275466).

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise Module for Public Cloud 15 SP4python-sqlparse
All versions before 0.4.4-150400.6.16.1 (fixed in 0.4.4-150400.6.16.1)
SUSE:Linux Enterprise Module for Public Cloud 15 SP5python-sqlparse
All versions before 0.4.4-150400.6.16.1 (fixed in 0.4.4-150400.6.16.1)

References