ADVISORIES

Vulnerability

CVE-2024-4340

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

20 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • CGA-gfgr-vr95-32hh
    CVE-2024-4340 ChainguardWolfi Updated 5 November 2026
  • CGA-h998-2q4h-8w3h
    CVE-2024-4340 ChainguardWolfi Updated 5 November 2026
  • CGA-p9j8-39h4-w7p6
    CVE-2024-4340 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-4340

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

    CVE-2024-4340 Debian Updated 2 November 2026
  • DLA-4000-1

    sqlparse - security update

    CVE-2021-32839CVE-2023-30608CVE-2024-4340 Debian Updated 20 November 2026
  • GHSA-2m57-hf25-phgg

    sqlparse parsing heavily nested list leads to Denial of Service

    High CVE-2024-4340 PyPI Updated 10 September 2026
  • OESA-2024-1533

    python-sqlparse security update

    High CVE-2024-4340 openEuler Updated 18 August 2026
  • OESA-2024-1603

    python-sqlparse security update

    High CVE-2024-4340 openEuler Updated 18 August 2026
  • OESA-2024-1646

    python-sqlparse security update

    High CVE-2024-4340 openEuler Updated 18 August 2026
  • PYSEC-2026-1940

    sqlparse parsing heavily nested list leads to Denial of Service

    CVE-2024-4340 PyPI Updated 7 July 2026
  • RHSA-2024:3781

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2023-45288CVE-2023-45290CVE-2023-49083CVE-2023-50447 Red Hat Updated 24 November 2026
  • RHSA-2024:9984

    Red Hat Security Advisory: RHOSP 17.1.4 (python-sqlparse) security update

    CVE-2024-4340 Red Hat Updated 7 August 2026
  • RHSA-2024:9986

    Red Hat Security Advisory: RHOSP 17.1.4 (python-sqlparse) security update

    CVE-2024-4340 Red Hat Updated 7 August 2026
  • RHSA-2025:1335

    Red Hat Security Advisory: RHUI 4.11 security, bugfix, and enhancement update

    CVE-2024-1135CVE-2024-26130CVE-2024-27306CVE-2024-30251 Red Hat Updated 24 November 2026
  • RHSA-2025:9838

    Red Hat Security Advisory: Satellite 6.15.5.3 Async Update

    CVE-2023-50471CVE-2023-50472CVE-2024-31755CVE-2024-4340 Red Hat Updated 13 November 2026
  • SUSE-SU-2024:1767-1

    Security update for python-sqlparse

    CVE-2024-4340 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1861-1

    Security update for python3-sqlparse

    CVE-2024-4340 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2024-4340

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

    Important CVE-2024-4340 SUSE Updated 12 October 2026
  • UBUNTU-CVE-2024-4340

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

    CVE-2024-4340 Ubuntu Updated 4 February 2026
  • USN-6771-1

    sqlparse vulnerability

    CVE-2024-4340 Ubuntu Updated 10 February 2026

References