Vulnerability in Andialbrecht Sqlparse
CVE-2026-59893
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.003 (24.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 24.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.001
Affected products
- Andialbrecht Sqlparse — versions < 0.6.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-59893?
- CVE-2026-59893 is a high-severity vulnerability in Andialbrecht Sqlparse, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2026-08-17.
- How severe is CVE-2026-59893?
- High severity. CVSS v3 base score is 7.5 out of 10.