MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-71491GHSA-f2ff-p2ww-7p4pWID-SEC-W-2026-3555:CVE-2026-71491

sqlparse: Quadratic O(n²) DoS in group_comments

Not on CISA KEV
  • Overview

Summary

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, group_comments in sqlparse/engine/grouping.py repeatedly rescans comment-only statements before the MAX_GROUPING_TOKENS guard, causing quadratic CPU consumption through sqlparse.parse() and sqlparse.format(sql,

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

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)