Skip to content
OpenAdvisories
Medium openSUSE-SU-2026:21777-1 1 CVE

Security update for python-sqlparse

Published Sep 6, 2026 · Updated Sep 9, 2026

Summary

This update for python-sqlparse fixes the following issue:

- CVE-2026-84305: Reindentation of tuple lists causes near-cap quadratic CPU consumption (bsc#1278097).

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 python-sqlparse 0.5.3-160000.5.1

Vulnerabilities 1

  • Medium 5.1

    sqlparse: Reindentation of tuple lists causes near-cap quadratic CPU consumption

    sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route attacker-controlled parenthesized tuple lists through ReindentFilter._get_offset() in sqlparse/filters/reindent.py, w…

References

  • report
    https://bugzilla.suse.com/1278097
  • web
    https://www.suse.com/security/cve/CVE-2026-84305