Answer in brief
CVE-2026-71491 records a High severity (CVSS 8.7) vulnerability in sqlparse: Quadratic O(n²) DoS in group_comments. The current sources do not mark it as known exploited. The current feed maps andialbrecht/sqlparse (generic), sqlparse (pip), sqlparse (pypi). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 8.7. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps andialbrecht/sqlparse (generic), sqlparse (pip), sqlparse (pypi). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| andialbrecht/sqlparsegeneric | < 0.6.0 | Not reported |
| sqlparsepip | <=0.5.5 | 0.6.0 |
| sqlparsepypi | >=0 <0.6.0 | 0.6.0 |
Published upstream
Aug 17, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Sep 10, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Aug 17, 2026
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, strip_comments=True). This issue is fixed in version 0.6.0.
Quoted source text, attributed separately from HOL analysis.