Bug 2517523 (CVE-2026-59893) - CVE-2026-59893 sqlparse: sqlparse: Denial of Service via inefficient SQL parsing
Summary: CVE-2026-59893 sqlparse: sqlparse: Denial of Service via inefficient SQL parsing
Keywords:
Status: NEW
Alias: CVE-2026-59893
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-17 18:00 UTC by OSIDB Bzimport
Modified: 2026-08-28 02:48 UTC (History)
58 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-17 18:00:29 UTC
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, SQL_REGEX 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(), sqlparse.format(), and sqlparse.split(). This issue is fixed in version 0.6.0.


Note You need to log in before you can comment on or make changes to this bug.