Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-59893
VULNERABILITY

CVE-2026-59893

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.5
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Timeline

Published
Aug 17, 2026 18:17
Modified
Oct 23, 2026 16:10
Last observed
Oct 23, 2026 20:12

CWE

CWE-1333

References