7.5

CVE-2024-4340: Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Deferred
AliasesMGASA-2024-0185SUSE-SU-2024:1767-1SUSE-SU-2024:1861-1
Published 30-04-2024Last modified 03-11-2025

Vulnerability summary

CVE-2024-4340 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in sqlparse. EPSS estimates a 3.24% chance of exploitation in the next 30 days, higher than 88.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
3.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 3

Timeline

  1. 30-04-2024
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

3.24%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.24% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse14 products
  • python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 0.4.4-150400.6.7.1
  • python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5< 0.4.4-150400.6.7.1
  • python3-sqlparse&distro=SUSE Enterprise Storage 7.1< 0.4.2-150300.12.1
  • python3-sqlparse&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 0.4.2-150300.12.1
  • python3-sqlparse&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 0.4.2-150300.12.1
Chainguard2 products
  • kubeflow-pipelines-visualization-server< 2.2.0-r0
  • py3-sqlparse< 0.5.0-r0
Opensuse2 products
  • python-sqlparse&distro=openSUSE Leap 15.5< 0.4.4-150400.6.7.1
  • python3-sqlparse&distro=openSUSE Leap 15.5< 0.4.2-150300.12.1
Redhat2 products
  • python-sqlparse< 0:0.4.1-2.el9ost | < 0:0.4.1-2.el8ost
  • python3-sqlparse< 0:0.4.1-2.el9ost | < 0:0.4.1-2.el8ost
Wolfi2 products
  • kubeflow-pipelines-visualization-server< 2.2.0-r0
  • py3-sqlparse< 0.5.0-r0
Debian1 product
  • sqlparse< 0.4.2-1+deb12u1 | < 0.5.0-1
Mageia1 product
  • python-sqlparse< 0.4.4-1.1.mga9
PyPI1 product
  • sqlparse< 0.5.0
Ubuntu1 product
  • sqlparse< 0.4.2-1ubuntu0.22.04.2 | < 0.4.4-1ubuntu0.1

9 vendors · 26 products

References

28 links
Show all 28 references