Skip to main content
CVE-2024-36039VulnerabilityPublished Updated

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

Affects Red Hat python3.12-PyMySQLSource GCVE Database

0
Compare
Authoritative record:CVE-2024-36039· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium.

Data as of 1 Nov 2026, 08:20 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIpymysqlpkg:pypi/pymysqlOther threatsAffected
  • <=1.1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Red Hat has released an updated python3.12-PyMySQL package that fixes the SQL injection vulnerability. Users of Red Hat Enterprise Linux 9 and its extended update support versions should apply the update as described in the Red Hat advisory RHSA-2024:9193 and the linked article https://access.redhat.com/articles/11258. Applying this update mitigates the vulnerability. No additional mitigation steps are indicated by the vendor.

Description

A moderate severity security vulnerability (CVE-2024-36039) was identified in the python3.12-PyMySQL package used in Red Hat Enterprise Linux 9. This vulnerability allows SQL injection when the library processes untrusted JSON input. PyMySQL is a pure-Python MySQL client library intended as a drop-in replacement for MySQLdb. Red Hat has released an update to address this issue in their python3.12-PyMySQL package for RHEL 9 and its extended update support versions.

References

Community reviews

Loading reviews…