{"id":"CVE-2026-59893","sourceIdentifier":"security-advisories@github.com","published":"2026-08-17T18:17:35.730","lastModified":"2026-10-23T16:10:00.313","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"sqlparse es un módulo analizador SQL no validador para Python. Antes de la versión 0.6.0, SQL_REGEX en sqlparse/keywords.py y el bucle por posición en sqlparse/lexer.py escanean repetidamente delimitadores de literales entre comillas de dólar y de comentarios multilínea no coincidentes, causando un consumo cuadrático de CPU a través de sqlparse.parse(), sqlparse.format() y sqlparse.split(). Este problema está corregido en la versión 0.6.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"andialbrecht","product":"sqlparse","versions":[{"version":"< 0.6.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-17T18:54:17.365983Z","id":"CVE-2026-59893","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-1333"}]}],"references":[{"url":"https://github.com/andialbrecht/sqlparse/commit/d1d80602741f77ec78e5a04ce4719244cf32352e","source":"security-advisories@github.com"},{"url":"https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-prg7-hcfm-mfcr","source":"security-advisories@github.com"},{"url":"https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-prg7-hcfm-mfcr","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}