# CVE-2024-36039: python-PyMySQL: This update for python-PyMySQL fixes the following issues:  - CVE-2024-36039: Fixed SQL injection if used with untrus...

CVE-2024-36039 is fixed in 7 products on 1 platform, first by python3-pymysql 0.9.3-2ubuntu3.1, released May 21, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-36039
- Priority: Routine
- CVSS: 6.3 (Medium)
- EPSS: 0.0069
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 21, 2024

## Description

This update for python-PyMySQL fixes the following issues:  - CVE-2024-36039: Fixed SQL injection if used with untrusted JSON input (bsc#1225070).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-PyMySQL opensuse-leap 15.6 | 1.1.0-150600.3.3.1 | [SUSE-SU-2024:1925-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-1925-1.md) | Jun 5, 2024 |
| Linux | python-PyMySQL sles 15.6 | 0.7.11-150000.3.3.1 | [SUSE-SU-2024:1855-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-1855-1.md) | May 30, 2024 |
| Linux | python-pymysql Debian 11.6 (bullseye) | 0.9.3-2+deb11u1 | [DSA-5700-1](https://patchblox.com/security/data/fix/linux/dsa-5700-1.md) | May 29, 2024 |
| Linux | python-pymysql Debian 12.15 (bookworm) | 1.0.2-2+deb12u1 | [DSA-5700-1](https://patchblox.com/security/data/fix/linux/dsa-5700-1.md) | May 29, 2024 |
| Linux | python-pymysql Debian 13.5 (trixie) | 1.1.1-1 | [DEBIAN-CVE-2024-36039](https://patchblox.com/security/data/fix/linux/debian-cve-2024-36039.md) | May 21, 2024 |
| Linux | python-pymysql Debian 14 | 1.1.1-1 | [DEBIAN-CVE-2024-36039](https://patchblox.com/security/data/fix/linux/debian-cve-2024-36039.md) | May 21, 2024 |
| Linux | python3-pymysql Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu3.1 | [python3-pymysql 0.9.3-2ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-pymysql-0.9.3-2ubuntu3.1.md) | May 21, 2024 |
| Linux | python3-pymysql Ubuntu 22.04.1 LTS (jammy) | 1.0.2-1ubuntu1.22.04.1 | [python3-pymysql 1.0.2-1ubuntu1.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-pymysql-1.0.2-1ubuntu1.22.04.1.md) | May 21, 2024 |
| Linux | python3-pymysql Ubuntu 24.04.5 LTS (noble) | 1.0.2-2ubuntu1.1 | [python3-pymysql 1.0.2-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-pymysql-1.0.2-2ubuntu1.1.md) | May 21, 2024 |
| Linux | python3-pymysql Ubuntu 24.10 (oracular) | 1.1.1-1ubuntu1 | [python3-pymysql 1.1.1-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-pymysql-1.1.1-1ubuntu1.md) | Jan 16, 2026 |
| Linux | python3-pymysql Ubuntu 25.04 (plucky) | 1.1.1-1ubuntu1 | [python3-pymysql 1.1.1-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-pymysql-1.1.1-1ubuntu1.md) | Jan 16, 2026 |
| Linux | python3.11-PyMySQL RHEL 8 | 0:1.0.2-2.el8_10 | [RHSA-2024:4244](https://patchblox.com/security/data/fix/linux/rhsa-2024-4244.md) | Jul 2, 2024 |
| Linux | python3.11-PyMySQL RHEL 9 | 0:1.0.2-2.el9 | [RHSA-2024:9194](https://patchblox.com/security/data/fix/linux/rhsa-2024-9194.md) | Nov 12, 2024 |
| Linux | python3.11-PyMySQL almalinux 8 | 1.0.2-2.el8_10 | [ALSA-2024:4244](https://patchblox.com/security/data/fix/linux/alsa-2024-4244.md) | Jul 2, 2024 |
| Linux | python3.11-PyMySQL almalinux 9 | 1.0.2-2.el9 | [ALSA-2024:9194](https://patchblox.com/security/data/fix/linux/alsa-2024-9194.md) | Nov 12, 2024 |
| Linux | python3.11-PyMySQL ol 8 | 0:1.0.2-2.el8_10 | [ELSA-2024-4244](https://patchblox.com/security/data/fix/linux/elsa-2024-4244.md) | Jul 2, 2024 |
| Linux | python3.11-PyMySQL ol 9 | 0:1.0.2-2.el9 | [ELSA-2024-9194](https://patchblox.com/security/data/fix/linux/elsa-2024-9194.md) | Nov 14, 2024 |
| Linux | python3.11-PyMySQL rocky 8 | 0:1.0.2-2.el8_10 | [RLSA-2024:4244](https://patchblox.com/security/data/fix/linux/rlsa-2024-4244.md) | May 7, 2025 |
| Linux | python3.11-PyMySQL rocky 9 | 0:1.0.2-2.el9 | [RLSA-2024:9194](https://patchblox.com/security/data/fix/linux/rlsa-2024-9194.md) | Mar 17, 2025 |
| Linux | python3.11-PyMySQL+rsa RHEL 9 | 0:1.0.2-2.el9 | [RHSA-2024:9194](https://patchblox.com/security/data/fix/linux/rhsa-2024-9194.md) | Nov 12, 2024 |
| Linux | python3.11-PyMySQL+rsa almalinux 9 | 1.0.2-2.el9 | [ALSA-2024:9194](https://patchblox.com/security/data/fix/linux/alsa-2024-9194.md) | Nov 12, 2024 |
| Linux | python3.11-PyMySQL+rsa ol 9 | 0:1.0.2-2.el9 | [ELSA-2024-9194](https://patchblox.com/security/data/fix/linux/elsa-2024-9194.md) | Nov 14, 2024 |
| Linux | python3.12-PyMySQL RHEL 8 | 0:1.1.0-3.el8_10 | [RHSA-2024:4245](https://patchblox.com/security/data/fix/linux/rhsa-2024-4245.md) | Jul 2, 2024 |
| Linux | python3.12-PyMySQL RHEL 9 | 0:1.1.0-3.el9 | [RHSA-2024:9193](https://patchblox.com/security/data/fix/linux/rhsa-2024-9193.md) | Nov 12, 2024 |
| Linux | python3.12-PyMySQL almalinux 8 | 1.1.0-3.el8_10 | [ALSA-2024:4245](https://patchblox.com/security/data/fix/linux/alsa-2024-4245.md) | Jul 2, 2024 |
| Linux | python3.12-PyMySQL almalinux 9 | 1.1.0-3.el9 | [ALSA-2024:9193](https://patchblox.com/security/data/fix/linux/alsa-2024-9193.md) | Nov 12, 2024 |
| Linux | python3.12-PyMySQL ol 8 | 0:1.1.0-3.el8_10 | [ELSA-2024-4245](https://patchblox.com/security/data/fix/linux/elsa-2024-4245.md) | Jul 3, 2024 |
| Linux | python3.12-PyMySQL ol 9 | 0:1.1.0-3.el9 | [ELSA-2024-9193](https://patchblox.com/security/data/fix/linux/elsa-2024-9193.md) | Nov 14, 2024 |
| Linux | python3.12-PyMySQL rocky 8 | 0:1.1.0-3.el8_10 | [RLSA-2024:4245](https://patchblox.com/security/data/fix/linux/rlsa-2024-4245.md) | May 7, 2025 |
| Linux | python3.12-PyMySQL rocky 9 | 0:1.1.0-3.el9 | [RLSA-2024:9193](https://patchblox.com/security/data/fix/linux/rlsa-2024-9193.md) | Mar 17, 2025 |
| Linux | python3.12-PyMySQL+rsa RHEL 9 | 0:1.1.0-3.el9 | [RHSA-2024:9193](https://patchblox.com/security/data/fix/linux/rhsa-2024-9193.md) | Nov 12, 2024 |
| Linux | python3.12-PyMySQL+rsa almalinux 9 | 1.1.0-3.el9 | [ALSA-2024:9193](https://patchblox.com/security/data/fix/linux/alsa-2024-9193.md) | Nov 12, 2024 |
| Linux | python3.12-PyMySQL+rsa ol 9 | 0:1.1.0-3.el9 | [ELSA-2024-9193](https://patchblox.com/security/data/fix/linux/elsa-2024-9193.md) | Nov 14, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
