Lucene search
+L

339 matches found

OSV
OSV
•added 2026/08/19 11:56 a.m.•8 views

PYSEC-2026-3697 sqlparse: Quadratic O(n²) DoS in group_comments

Summary A comment-only statement -- c\nn may cause a Denial of Service DoS. Details Location: sqlparse/engine/grouping.py:331-341 groupcomments, invoked first in group at grouping.py:439. Reachable via sqlparse.parse and sqlparse.formatsql, stripcomments=True. A statement made of many single-line...

8.7CVSS5.9AI score0.00263EPSS
SaveExploits0References6
PyPA
PyPA
•added 2026/08/19 11:56 a.m.•22 views

sqlparse: Quadratic O(n²) DoS in group_comments

SummaryA comment-only statement -- c\nn may cause a Denial of Service DoS. DetailsLocation: sqlparse/engine/grouping.py:331-341 groupcomments, invoked first in group at grouping.py:439. Reachable via sqlparse.parse and sqlparse.formatsql, stripcomments=True.A statement made of many single-line...

8.7CVSS5.9AI score0.00263EPSS
SaveExploits0References6Affected Software1
OSV
OSV
•added 2026/08/19 11:56 a.m.•19 views

PYSEC-2026-3698 sqlparse: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Service)

Summary sqlparse contains a Regular Expression Denial of Service ReDoS vulnerability in its dollar-quoted SQL literal lexer. The regex pattern at sqlparse/keywords.py:33 uses a backreference \1 to match closing dollar-quote delimiters, causing On² CPU complexity when processing inputs containing...

7.5CVSS6.1AI score0.00337EPSS
SaveExploits0References6
OSV
OSV
•added 2026/08/19 11:56 a.m.•9 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.7CVSS5.9AI score0.00332EPSS
SaveExploits0References6
PyPA
PyPA
•added 2026/08/19 11:56 a.m.•14 views

sqlparse: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Service)

Summarysqlparse contains a Regular Expression Denial of Service ReDoS vulnerability in its dollar-quoted SQL literal lexer. The regex pattern at sqlparse/keywords.py:33 uses a backreference \1 to match closing dollar-quote delimiters, causing On² CPU complexity when processing inputs containing...

7.5CVSS6.2AI score0.00337EPSS
SaveExploits0References6Affected Software1
PyPA
PyPA
•added 2026/08/19 11:56 a.m.•12 views

sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes

SummaryThe documented Python and PHP output modes generate source-code snippets from caller-supplied SQL. Their output filters escape quote characters without first escaping existing backslashes. Crafted SQL can therefore neutralize the generated quote escape, terminate the intended language...

6.2CVSS6.5AI score0.00129EPSS
SaveExploits0References6Affected Software1
OSV
OSV
•added 2026/08/19 11:56 a.m.•8 views

PYSEC-2026-3696 sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes

Summary The documented Python and PHP output modes generate source-code snippets from caller-supplied SQL. Their output filters escape quote characters without first escaping existing backslashes. Crafted SQL can therefore neutralize the generated quote escape, terminate the intended language...

6.2CVSS6.5AI score0.00129EPSS
SaveExploits0References6
Positive Technologies
Positive Technologies
•added 2026/08/19 12:00 a.m.•3 views

PT-2026-80668

Summary A comment-only statement -- c n may cause a Denial of Service DoS. Details Location: sqlparse/engine/grouping.py:331-341 group comments, invoked first in group at grouping.py:439. Reachable via sqlparse.parse and sqlparse.formatsql, strip comments=True. A statement made of many single-lin...

8.7CVSS5.9AI score0.00263EPSS
SaveExploits0References7
Positive Technologies
Positive Technologies
•added 2026/08/19 12:00 a.m.•5 views

PT-2026-80669

Summary sqlparse contains a Regular Expression Denial of Service ReDoS vulnerability in its dollar-quoted SQL literal lexer. The regex pattern at sqlparse/keywords.py:33 uses a backreference 1 to match closing dollar-quote delimiters, causing On² CPU complexity when processing inputs containing...

7.5CVSS6.1AI score0.00337EPSS
SaveExploits0References7
OSV
OSV
•added 2026/08/19 12:00 a.m.•10 views

OPENSUSE-SU-2026:11557-1 python313-sqlparse-0.6.0-1.1 on GA media

These are all security issues fixed in the python313-sqlparse-0.6.0-1.1 package on the GA media of openSUSE Tumbleweed...

8.7CVSS5.9AI score0.00337EPSS
SaveExploits0References4
Positive Technologies
Positive Technologies
•added 2026/08/19 12:00 a.m.•4 views

PT-2026-80670

Summary sqlparse ships hard limits MAX GROUPING DEPTH=100, MAX GROUPING TOKENS=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,...

8.7CVSS5.8AI score0.00332EPSS
SaveExploits0References7
SUSE CVE
SUSE CVE
•added 2026/08/18 4:58 p.m.•13 views

SUSE 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,...

7.5CVSS6AI score0.00332EPSS
SaveExploits0References7
SUSE CVE
SUSE CVE
•added 2026/08/18 4:57 p.m.•9 views

SUSE CVE-2026-59893

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, SQLREGEX in sqlparse/keywords.py and the per-position loop in sqlparse/lexer.py repeatedly scan unmatched dollar-quoted literal and multiline-comment delimiters, causing quadratic CPU consumption through sqlparse.parse,...

7.5CVSS6AI score0.00337EPSS
SaveExploits0References7
SUSE CVE
SUSE CVE
•added 2026/08/18 4:57 p.m.•17 views

SUSE CVE-2026-59894

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse/filters/output.py fails to escape existing backslashes before quotes in sqlparse.format outputformat='python' and outputformat='php' and the corresponding sqlformat -l modes, allowing crafted SQL to terminate the...

5.5CVSS6AI score0.00129EPSS
SaveExploits0References7
SUSE CVE
SUSE CVE
•added 2026/08/18 4:55 p.m.•15 views

SUSE CVE-2026-71491

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, groupcomments in sqlparse/engine/grouping.py repeatedly rescans comment-only statements before the MAXGROUPINGTOKENS guard, causing quadratic CPU consumption through sqlparse.parse and sqlparse.formatsql, stripcomments=Tru...

7.5CVSS6AI score0.00263EPSS
SaveExploits0References7
Tenable Nessus
Tenable Nessus
•added 2026/08/18 12:00 a.m.•12 views

Linux Distros Unpatched Vulnerability : CVE-2026-59894

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available. - sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse/filters/output.py fails to escape existing backslashes before quotes in...

6.2CVSS6AI score0.00129EPSS
SaveExploits0References3
Tenable Nessus
Tenable Nessus
•added 2026/08/18 12:00 a.m.•23 views

Linux Distros Unpatched Vulnerability : CVE-2026-59893

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available. - sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, SQLREGEX in sqlparse/keywords.py and the per-position loop in sqlparse/lexer.py...

7.5CVSS6AI score0.00337EPSS
SaveExploits0References2
Tenable Nessus
Tenable Nessus
•added 2026/08/18 12:00 a.m.•9 views

Linux Distros Unpatched Vulnerability : CVE-2026-54284

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available. - 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...

8.7CVSS6AI score0.00332EPSS
SaveExploits0References2
Tenable Nessus
Tenable Nessus
•added 2026/08/18 12:00 a.m.•11 views

Linux Distros Unpatched Vulnerability : CVE-2026-71491

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available. - sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, groupcomments in sqlparse/engine/grouping.py repeatedly rescans comment-only statemen...

8.7CVSS6AI score0.00263EPSS
SaveExploits0References2
Snyk
Snyk
•added 2026/08/17 10:00 p.m.•18 views

Denial of Service (DoS)

Overview Affected versions of this package are vulnerable to Denial of Service DoS via the groupcomments function in sqlparse/engine/grouping.py when parsing a statement composed entirely of comment tokens e.g., repeated -- c\n lines. The function rescans the entire remaining token tail once per...

8.7CVSS5.7AI score0.00263EPSS
SaveExploits0References2
Rows per page
Query Builder