openSUSE Security Update
openSUSE-SU-2026:21690-1
Security update for python-sqlparse
Details
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_commentswhen processing comment-only statements can lead to denial
of services (bsc#1275466).
- Incomplete GHSA-27jp-wm6q-gp25 patch (bsc#1268597).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openSUSE:Leap 16.0 | python-sqlparse | All versions before 0.5.3-160000.4.1 (fixed in 0.5.3-160000.4.1) |
References
- https://bugzilla.suse.com/1268597
- https://bugzilla.suse.com/1275459
- https://bugzilla.suse.com/1275460
- https://bugzilla.suse.com/1275461
- https://bugzilla.suse.com/1275466
- https://www.suse.com/security/cve/CVE-2026-54284
- https://www.suse.com/security/cve/CVE-2026-59893
- https://www.suse.com/security/cve/CVE-2026-59894
- https://www.suse.com/security/cve/CVE-2026-71491