{"data":{"id":"6d7eea1f-5628-4109-9f06-b82b3aa7ed2d","title":"GHSA-prg7-hcfm-mfcr: sqlparse: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Service)","summary":"sqlparse has a ReDoS (regular expression denial of service) vulnerability in how it handles dollar-quoted SQL literals. The vulnerable regex pattern uses a backreference to match closing delimiters, but when closing delimiters don't exist, it scans the entire remaining input, causing O(n²) CPU complexity (meaning time grows quadratically with input size). An attacker can exploit this by sending specially crafted SQL text to any application using sqlparse, causing the application to consume excessive CPU and become unresponsive.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-prg7-hcfm-mfcr","publishedAt":"2026-08-17T17:49:55.000Z","cveId":"CVE-2026-59893","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["sqlparse@<= 0.5.6.dev0 (fixed: 0.6.0)"],"affectedVendors":[],"affectedVendorsRaw":[],"classifierModel":"claude-haiku-4-5-20251001","classifierPromptVersion":"v3","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0,"patchAvailable":true,"disclosureDate":"2026-08-17T17:49:55.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability"],"aiComponentTargeted":null,"llmSpecific":false,"classifierConfidence":0.75,"researchCategory":null,"atlasIds":null}}