5.1

CVE-2026-84305: andialbrecht sqlparse Inefficient Algorithmic Complexity

CVSS: 5.1v4.0MediumDeferred
AliasesSUSE-SU-2026:23634-1SUSE-SU-2026:3978-1SUSE-SU-2026:4109-1
Published 01-09-2026Last modified 01-09-2026

Vulnerability summary

CVE-2026-84305 is a medium (CVSS 5.1) Inefficient Algorithmic Complexity vulnerability in andialbrecht sqlparse. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8% of scored vulnerabilities.

Overall risk
20/100
0100
Low · default modelHow is this calculated?
CVSS score
5.1/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.19%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 01-09-2026
    PublishedVulnerability first disclosed.
  2. 01-09-2026
    Last modifiedVulnerability information updated.

Description

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, where _flatten_up_to_token() repeatedly rebuilds and joins the statement prefix. Thousands of offset calculations walk an expanding token tree, producing quadratic CPU consumption for inputs that remain below MAX_GROUPING_TOKENS and causing request delays, reduced throughput, or worker starvation. This issue is fixed in version 0.6.0.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

+0.06 pp

From 0.13% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.19%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Suse7 products
  • python-sqlparse&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 0.2.4-150100.6.14.1
  • python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 0.4.4-150400.6.19.1
  • python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5< 0.4.4-150400.6.19.1
  • python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP6< 0.4.4-150600.3.12.1
  • python-sqlparse&distro=SUSE Linux Enterprise Module for Python 3 15 SP7< 0.4.4-150600.3.12.1
Chainguard3 products
  • dbt-bigquery< 1.10.3-r8
  • dbt-core< 1.12.3-r0
  • mlflow< 3.16.0-r0
Andialbrecht1 product
Debian1 product
  • sqlparseAll versions (No fix recorded)
Opensuse1 product
  • python-sqlparse&distro=openSUSE Leap 16.0< 0.5.3-160000.5.1
PyPI1 product
  • sqlparse< 0.6.0
Ubuntu1 product
  • sqlparseAll versions (No fix recorded)
Wolfi1 product
  • mlflow< 3.16.0-r0

8 vendors · 16 products

References

17 links
Show all 17 references