Skip to content
Heist/ feed
UnratedFix available

Security update for python-sqlparse

Type: advisorySource: OSV1 source record

This update for python-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). - Incomplete GHSA-27jp-wm6q-gp25 patch (bsc#1268597).

Announced Source revision 1
Original source ↗

SUSE-SU-2026:23561-1

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:SUSE-SU-2026:23561-1

python-sqlparse

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
0.5.3-160000.4.1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

python-sqlparse

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
0.5.3-160000.4.1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.5.3-160000.4.1"
          }
        ]
      }
    ],
    "package": {
      "name": "python-sqlparse",
      "purl": "pkg:rpm/suse/python-sqlparse&distro=SUSE%20Linux%20Enterprise%20Server%2016.0",
      "ecosystem": "SUSE:Linux Enterprise Server 16.0"
    },
    "database_specific": {
      "source": "https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2026:23561-1.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "python313-sqlparse": "0.5.3-160000.4.1"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.5.3-160000.4.1"
          }
        ]
      }
    ],
    "package": {
      "name": "python-sqlparse",
      "purl": "pkg:rpm/suse/python-sqlparse&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0",
      "ecosystem": "SUSE:Linux Enterprise Server for SAP applications 16.0"
    },
    "database_specific": {
      "source": "https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2026:23561-1.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "python313-sqlparse": "0.5.3-160000.4.1"
        }
      ]
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#30766 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement