{"action":"Upgrade sqlparse to 0.5.0 or later.","affected":[{"fixed":"0.5.0","introduced":"0"}],"component":"sqlparse","cve_ids":["CVE-2024-4340"],"ecosystem":"PyPI","epss":0.03237,"exploited":false,"fixed_versions":["0.5.0"],"ghsa_id":"GHSA-2m57-hf25-phgg","id":"tcs_01M5KGWJWVP4REKSSK7T5B1E9Z","modified_at":"2026-07-07T17:47:58.770802401Z","published_at":"2026-07-07T11:45:38.604193Z","references":["https://osv.dev/vulnerability/PYSEC-2026-1940","https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-2m57-hf25-phgg","https://nvd.nist.gov/vuln/detail/CVE-2024-4340","https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03","https://github.com/andialbrecht/sqlparse","https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292","https://pypi.org/project/sqlparse","https://github.com/advisories/GHSA-2m57-hf25-phgg"],"severity":{"label":"high","score":7.5},"sources":[{"source":"osv","source_id":"PYSEC-2026-1940","url":"https://osv.dev/vulnerability/PYSEC-2026-1940"}],"summary":"sqlparse parsing heavily nested list leads to Denial of Service"}