Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-71491
Published:August 17, 2026
Updated:August 31, 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.
Affected Packages
sqlparse (CONDA):
Affected version(s) >=0.1.7 <0.6.0
Fix Suggestion:
Update to version 0.6.0
https://github.com/andialbrecht/sqlparse.git (GITHUB):
Affected version(s) >=0.1.0 <0.6.0
Fix Suggestion:
Update to version 0.6.0
sqlparse (PYTHON):
Affected version(s) >=0.1.0 <0.6.0
Fix Suggestion:
Update to version 0.6.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Algorithmic Complexity
Uncontrolled Resource Consumption
EPSS
Base Score:
0.26