ADVISORIES

Vulnerability

CVE-2024-36039

PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.

31 advisories report this vulnerability, across 13 ecosystems.

Advisories

  • ALSA-2024:4244

    Moderate: python3.11-PyMySQL security update

    CVE-2024-36039 AlmaLinux Updated 29 October 2026
  • ALSA-2024:4245

    Moderate: python3 security update

    CVE-2024-36039 AlmaLinux Updated 29 October 2026
  • ALSA-2024:9193

    Moderate: python3.12-PyMySQL security update

    CVE-2024-36039 AlmaLinux Updated 29 October 2026
  • ALSA-2024:9194

    Moderate: python3.11-PyMySQL security update

    CVE-2024-36039 AlmaLinux Updated 29 October 2026
  • AZL-43726

    CVE-2024-36039 affecting package python-PyMySQL 0.9.3-3

    CVE-2024-36039 Azure Linux Updated 21 April 2026
  • AZL-44457

    CVE-2024-36039 affecting package python-PyMySQL for versions less than 1.1.1-3

    CVE-2024-36039 Azure Linux Updated 21 April 2026
  • CGA-fr63-jwxm-9xw5
    CVE-2024-36039 ChainguardWolfi Updated 5 November 2026
  • CGA-jfp5-pr6x-59gj
    CVE-2024-36039 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-36039

    PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.

    CVE-2024-36039 Debian Updated 2 November 2026
  • DLA-3822-1

    python-pymysql - security update

    CVE-2024-36039 Debian Updated 20 November 2026
  • DSA-5700-1

    python-pymysql - security update

    CVE-2024-36039 Debian Updated 20 November 2026
  • ELSA-2024-4244

    ELSA-2024-4244: python3.11-PyMySQL security update (MODERATE)

    Moderate CVE-2024-36039 Oracle Linux Updated 2 July 2024
  • ELSA-2024-4245

    ELSA-2024-4245: python3 security update (MODERATE)

    Moderate CVE-2024-36039 Oracle Linux Updated 3 July 2024
  • ELSA-2024-9193

    ELSA-2024-9193: python3.12-PyMySQL security update (MODERATE)

    Moderate CVE-2024-36039 Oracle Linux Updated 14 November 2024
  • ELSA-2024-9194

    ELSA-2024-9194: python3.11-PyMySQL security update (MODERATE)

    Moderate CVE-2024-36039 Oracle Linux Updated 14 November 2024
  • GHSA-v9hf-5j83-6xpp

    PyMySQL SQL Injection vulnerability

    Critical CVE-2024-36039 PyPI Updated 16 November 2026
  • OESA-2024-1719

    python-PyMySQL security update

    High CVE-2024-36039 openEuler Updated 18 August 2026
  • PYSEC-2026-502

    PyMySQL SQL Injection vulnerability

    CVE-2024-36039 PyPI Updated 1 July 2026
  • RHSA-2024:4244

    Red Hat Security Advisory: python3.11-PyMySQL security update

    CVE-2024-36039 Red Hat Updated 24 November 2026
  • RHSA-2024:4245

    Red Hat Security Advisory: python3 security update

    CVE-2024-36039 Red Hat Updated 24 November 2026
  • RHSA-2024:9193

    Red Hat Security Advisory: python3.12-PyMySQL security update

    CVE-2024-36039 Red Hat Updated 24 November 2026
  • RHSA-2024:9194

    Red Hat Security Advisory: python3.11-PyMySQL security update

    CVE-2024-36039 Red Hat Updated 24 November 2026
  • RHVEX-CVE-2024-36039

    python-pymysql: SQL injection if used with untrusted JSON input

    Moderate CVE-2024-36039 Red Hat Updated 24 November 2026
  • RLSA-2024:4244

    Moderate: python3.11-PyMySQL security update

    CVE-2024-36039 Rocky Linux Updated 7 May 2025
  • RLSA-2024:4245

    Moderate: python3 security update

    CVE-2024-36039 Rocky Linux Updated 7 May 2025
  • RLSA-2024:9193

    Moderate: python3.12-PyMySQL security update

    CVE-2024-36039 Rocky Linux Updated 9 October 2025
  • SUSE-SU-2024:1855-1

    Security update for python-PyMySQL

    CVE-2024-36039 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1925-1

    Security update for python-PyMySQL

    CVE-2024-36039 openSUSE Updated 4 February 2026
  • UBUNTU-CVE-2024-36039

    PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.

    CVE-2024-36039 Ubuntu Updated 4 February 2026
  • USN-6801-1

    python-pymysql vulnerability

    CVE-2024-36039 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2026:11995-1

    python313-PyMySQL-1.2.0-1.2 on GA media

    CVE-2024-36039 openSUSE Updated 5 October 2026

References