Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-84305

published medium CVSS 4.0 · 5.1

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

Published
01 Sep 2026, 18:33:10 UTC
Updated
01 Sep 2026, 19:12:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
andialbrecht — sqlparse< 0.6.0 Affected Not stated GitHub_M
SUSE / openSUSE SLE-15-SP4 python311-sqlparsenoarch Advisory build 0.4.4-150400.6.19.1 SUSE-SU-2026:4109-1
SUSE / openSUSE SLE-15-SP5 python311-sqlparsenoarch Advisory build 0.4.4-150400.6.19.1 SUSE-SU-2026:4109-1
SUSE / openSUSE SLE-15-SP6 python311-sqlparsenoarch Advisory build 0.4.4-150600.3.12.1 SUSE-SU-2026:4145-1
SUSE / openSUSE SLE-15-SP7 python2-sqlparsenoarch Advisory build 0.2.4-150100.6.14.1 SUSE-SU-2026:3978-1
SUSE / openSUSE SLE-15-SP7 python311-sqlparsenoarch Advisory build 0.4.4-150600.3.12.1 SUSE-SU-2026:4145-1
SUSE / openSUSE SLE-16 python313-sqlparsenoarch Advisory build 0.5.3-160000.5.1 SUSE-SU-2026:23634-1
SUSE / openSUSE SLE-3-SP7 python311-sqlparsenoarch Advisory build 0.4.4-150600.3.12.1 SUSE-SU-2026:4145-1
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Leap-16.0 python313-sqlparsenoarch Advisory build 0.5.3-160000.5.1 OPENSUSE-SU-2026:21777-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.1 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
andialbrecht sqlparse < 0.6.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-407 CWE-407: Inefficient Algorithmic Complexity (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6e32b2cd8cab54e1d000b85cd350a56f0c44d7aa0b3de5428f13434eb8c8e457
Ingested
23 Sep 2026, 09:36:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected