Security mailing lists by PureSourceCode

CVE-2024-4340

HIGH 7.5CVSS 3.1

sqlparse parsing heavily nested list leads to Denial of Service

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

Published
30 Apr 2024
Last modified
10 Sep 2026
Assigned by
reefs@jfrog.com
NVD status
Deferred
Weakness
CWE-674
Also known as
GHSA-2m57-hf25-phggPYSEC-2026-1940
Sources
NVDJSONOSV GHSA-2m57-hf25-phggJSONOSV PYSEC-2026-1940JSON

Scores

SourceScored byVersionScoreVector / decision
NVD reefs@jfrog.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI sqlparse < 0.5.0 0.5.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 30 Apr 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.