Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
sqlparse versions before 0.5.0 are vulnerable to a denial of service when parsing a heavily nested list passed to sqlparse.parse(), which raises a RecursionError. Any application that parses user-supplied input with this function can be affected. Upgrade to sqlparse 0.5.0 or later; the source gives no other workaround.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CNA (JFROG) |
- CISA KEV Not listed.
- EPSS 0.032, the 88th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:35 UTC First seen by agentprime
- 31 Oct 2026, 14:35 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-2m57-hf25-phgg
- OSV: GHSA-2m57-hf25-phgg
- github.com/andialbrecht/sqlparse/security/advisories/GHSA-2m57-hf25-phgg
- nvd.nist.gov/vuln/detail/CVE-2024-4340
- github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03
- github.com/andialbrecht/sqlparse
- research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292