SUSE-SU-2026:3762-1: important: Security update for python-sqlparse

SLE-UPDATES null at suse.de
Tue Aug 25 08:36:12 UTC 2026


# Security update for python-sqlparse

Announcement ID: SUSE-SU-2026:3762-1  
Release Date: 2026-08-24T18:24:44Z  
Rating: important  
References:

  * bsc#1275459
  * bsc#1275460
  * bsc#1275461
  * bsc#1275466

  
Cross-References:

  * CVE-2026-54284
  * CVE-2026-59893
  * CVE-2026-59894
  * CVE-2026-71491

  
CVSS scores:

  * CVE-2026-54284 ( SUSE ):  8.7
    CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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
  * CVE-2026-54284 ( SUSE ):  7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  * CVE-2026-54284 ( NVD ):  8.7
    CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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
  * CVE-2026-59893 ( SUSE ):  7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  * CVE-2026-59893 ( NVD ):  7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  * CVE-2026-59894 ( SUSE ):  6.2
    CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L/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
  * CVE-2026-59894 ( SUSE ):  5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  * CVE-2026-59894 ( NVD ):  6.2
    CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L/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
  * CVE-2026-71491 ( SUSE ):  8.7
    CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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
  * CVE-2026-71491 ( SUSE ):  7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  * CVE-2026-71491 ( NVD ):  8.7
    CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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

  
Affected Products:

  * SUSE Linux Enterprise Desktop 15 SP7
  * SUSE Linux Enterprise Real Time 15 SP7
  * SUSE Linux Enterprise Server 15 SP7
  * SUSE Linux Enterprise Server for SAP Applications 15 SP7
  * SUSE Package Hub 15 15-SP7

  
  
An update that solves four vulnerabilities can now be installed.

## Description:

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

## Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like
YaST online_update or "zypper patch".  
Alternatively you can run the command listed for your product:

  * SUSE Package Hub 15 15-SP7  
    zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-3762=1

## Package List:

  * SUSE Package Hub 15 15-SP7 (noarch)
    * python2-sqlparse-0.2.4-150100.6.11.1

## References:

  * https://www.suse.com/security/cve/CVE-2026-54284.html
  * https://www.suse.com/security/cve/CVE-2026-59893.html
  * https://www.suse.com/security/cve/CVE-2026-59894.html
  * https://www.suse.com/security/cve/CVE-2026-71491.html
  * https://bugzilla.suse.com/show_bug.cgi?id=1275459
  * https://bugzilla.suse.com/show_bug.cgi?id=1275460
  * https://bugzilla.suse.com/show_bug.cgi?id=1275461
  * https://bugzilla.suse.com/show_bug.cgi?id=1275466

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.suse.com/pipermail/sle-updates/attachments/20260825/b17554e5/attachment-0001.htm>


More information about the sle-updates mailing list