MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-84305GHSA-cfqr-cjx5-5jcm

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

Not on CISA KEVCVSS 5.1 (v4.0)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)