cve.bz

CVE-2024-4340

7.5 highEPSS 3.2%

High (7.5). EPSS 3.2% chance of exploitation in the next 30 days. Fixed in sqlparse 0.5.0.

Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.2% chance of exploitation in the next 30 days; higher than 88% of CVEs (scores of 2026-10-31)
CWE
CWE-674
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2m57-hf25-phggPyPIsqlparse<0.5.00.5.0
PYSEC-2026-1940PyPIsqlparse<0.5.00.5.0

References

Check your stackJSON