Lucene search
+L

14 matches found

RedHat Linux
RedHat Linux
•added 2026/09/23 9:13 p.m.•9 views

sqlparse: sqlparse: Denial of Service via quadratic CPU consumption in SQL parsing

A flaw was found in sqlparse, a Python module for parsing SQL. A remote attacker could exploit a vulnerability in the TokenList construction and string conversion processes, specifically when handling nested token subtrees. This flaw leads to quadratic CPU consumption, which can result in a Denia...

8.7CVSS5.8AI score0.00332EPSS
SaveExploits0References6
RedHat Linux
RedHat Linux
•added 2026/09/23 9:07 p.m.•8 views

sqlparse: sqlparse: Denial of Service via quadratic CPU consumption in SQL parsing

A flaw was found in sqlparse, a Python module for parsing SQL. A remote attacker could exploit a vulnerability in the TokenList construction and string conversion processes, specifically when handling nested token subtrees. This flaw leads to quadratic CPU consumption, which can result in a Denia...

8.7CVSS5.8AI score0.00332EPSS
SaveExploits0References6
OSV
OSV
•added 2026/08/24 6:24 p.m.•5 views

SUSE-SU-2026:3762-1 Security update for python-sqlparse

This update for python-sqlparse fixes the following issues: - CVE-2026-54284: TokenList.init materializes Osubtree value per group, causing CPU DoS before depth/token caps trigger bsc1275459. - CVE-2026-59893: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS bsc1275461. -...

8.7CVSS5.9AI score0.00337EPSS
SaveExploits0References9
PyPA
PyPA
•added 2026/08/19 11:56 a.m.•14 views

sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger

Summarysqlparse ships hard limits MAXGROUPINGDEPTH=100, MAXGROUPINGTOKENS=10000 intended to bound parsing work on attacker-supplied SQL, but the path that reaches those limits is itself Ondepth per token-group construction. A 1-2 KB SQL payload e.g. SELECT 1 ... with 500-2000 nesting levels, or a...

8.7CVSS6AI score0.00332EPSS
SaveExploits0References6Affected Software1
OSV
OSV
•added 2026/08/19 11:56 a.m.•8 views

PYSEC-2026-3699 sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger

Summary sqlparse ships hard limits MAXGROUPINGDEPTH=100, MAXGROUPINGTOKENS=10000 intended to bound parsing work on attacker-supplied SQL, but the path that reaches those limits is itself Ondepth per token-group construction. A 1-2 KB SQL payload e.g. SELECT 1 ... with 500-2000 nesting levels, or ...

8.7CVSS6.2AI score0.00332EPSS
SaveExploits0References6
Github Security Blog
Github Security Blog
•added 2026/08/17 5:49 p.m.•26 views

sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger

Summary sqlparse ships hard limits MAXGROUPINGDEPTH=100, MAXGROUPINGTOKENS=10000 intended to bound parsing work on attacker-supplied SQL, but the path that reaches those limits is itself Ondepth per token-group construction. A 1-2 KB SQL payload e.g. SELECT 1 ... with 500-2000 nesting levels, or ...

8.7CVSS6.1AI score0.00332EPSS
SaveExploits0References3Affected Software1
Snyk
Snyk
•added 2026/08/17 5:49 p.m.•16 views

Regular Expression Denial of Service (ReDoS)

Overview Affected versions of this package are vulnerable to Regular Expression Denial of Service ReDoS via the grouptokens method in sqlparse/sql.py, which previously called strstart to recompute the value of a token group after extending it with subtokens. Because str on a TokenList recursively...

8.7CVSS6AI score0.00332EPSS
SaveExploits0References3
OSV
OSV
•added 2026/08/17 5:49 p.m.•13 views

GHSA-PWGV-4X5Q-6M9F sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger

Summary sqlparse ships hard limits MAXGROUPINGDEPTH=100, MAXGROUPINGTOKENS=10000 intended to bound parsing work on attacker-supplied SQL, but the path that reaches those limits is itself Ondepth per token-group construction. A 1-2 KB SQL payload e.g. SELECT 1 ... with 500-2000 nesting levels, or ...

8.7CVSS6.1AI score0.00332EPSS
SaveExploits0References3
EUVD
EUVD
•added 2026/08/17 5:43 p.m.•18 views

EUVD-2026-60313

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by groupparenthesis and groupcase, causing quadratic CPU consumption through sqlparse.parse,...

8.7CVSS5.7AI score0.00332EPSS
SaveExploits0References2
Vulnrichment
Vulnrichment
•added 2026/08/17 5:43 p.m.•10 views

CVE-2026-54284 sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by groupparenthesis and groupcase, causing quadratic CPU consumption through sqlparse.parse,...

8.7CVSS5.8AI score0.00332EPSS
SaveExploits0References2
Cvelist
Cvelist
•added 2026/08/17 5:43 p.m.•55 views

CVE-2026-54284 sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by groupparenthesis and groupcase, causing quadratic CPU consumption through sqlparse.parse,...

8.7CVSS0.00332EPSS
SaveExploits0References2
attackerkb
attackerkb
•added 2026/08/17 5:43 p.m.•38 views

CVE-2026-54284

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by groupparenthesis and groupcase, causing quadratic CPU consumption through sqlparse.parse,...

8.7CVSS5.7AI score0.00332EPSS
SaveExploits0References3Affected Software1
CVE
CVE
•added 2026/08/17 5:43 p.m.•140 views

CVE-2026-54284

sqlparse versions before 0.6.0 have a CPU DoS flaw: TokenList.__init__ calls str(self), which recursively flattens the entire subtree on every group construction, producing O(n*d) cost. A ~2 KB deeply-nested SQL payload pins a worker for ~10 seconds (~5000x amplification). Flask-based SQL formatt...

8.7CVSS5.8AI score0.00332EPSS
SaveExploits0References2
Positive Technologies
Positive Technologies
•added 2024/04/15 12:00 a.m.•16 views

PT-2024-10474

Name of the Vulnerable Software and Affected Versions sqlparse affected versions not specified Description The issue is related to the sqlparse.parse function, which can lead to a Denial of Service due to a RecursionError when processing a heavily nested list. This can be exploited by a remote...

7.8CVSS7.1AI score0.03237EPSS
SaveExploits0References45
Rows per page
Query Builder