Vulnerabilities

Vulnerability · CVE-2009-4019

mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 does not (1) properly handle errors during execution of certain SELECT statements with subqueries, and does…

Published Nov 30, 2009 · catalog updated Jun 16, 2026 · Oracle

Check this week

CVE-2009-4019 is not in CISA KEV. FIRST estimates a 16.26% chance of exploitation in the next 30 days. Check whether you run Oracle.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium4.0
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
16.26%
Remediation
Advisory link
Affected products
cpe mysql/mysql

mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 does not (1) properly handle errors during execution of certain SELECT statements with subqueries, and does not (2) preserve certain null_value flags during execution of statements that use the GeomFromWKB function, which allows remote authenticated users to cause a denial of service (daemon crash) via a crafted statement.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe mysql/mysql5.0.0
  • cpe mysql/mysql5.0.1
  • cpe mysql/mysql5.0.10
  • cpe mysql/mysql5.0.15
  • cpe mysql/mysql5.0.16
  • cpe mysql/mysql5.0.17
  • cpe mysql/mysql5.0.2
  • cpe mysql/mysql5.0.20
  • cpe mysql/mysql5.0.3
  • cpe mysql/mysql5.0.4
  • cpe mysql/mysql5.0.5
  • cpe mysql/mysql5.0.5.0.21

How to fix CVE-2009-4019

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2009-4019 is not in CISA KEV. FIRST estimates a 16.26% chance of exploitation in the next 30 days. Check whether you run Oracle.

Which versions are affected?

Compare what you have installed with 5.0.0, 5.0.1, 5.0.10, 5.0.15, 5.0.16, 5.0.17. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 16.26%. There is no CISA KEV listing. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Nov 30, 2009 · Oracle Critical Patch Updates

    Detected

    mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 does not (1) properly handle errors during execution of certain SELECT statements with subqueries, and does not (2) preserve certain null_value flags during execution of statements that use the GeomFromWKB function, which allows remote authenticated users to cause a denial of service (daemon crash) via a crafted statement.

  2. Jun 16, 2026 · Oracle Critical Patch Updates

    Updated

    mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 does not (1) properly handle errors during execution of certain SELECT statements with subqueries, and does not (2) preserve certain null_value flags during execution of statements that use the GeomFromWKB function, which allows remote authenticated users to cause a denial of service (daemon crash) via a crafted statement.

Sources

  • CVE.orgVulnerability recordCVE-2009-4019

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2009-4019

    30-day exploitation probability 16.26%

    first.org
  • Exploit DatabasePublic exploit reference33397

    Public exploit archive reference. This is not confirmation of exploitation. The exploit body is not stored here.

    exploit-db.com
  • Exploit DatabasePublic exploit reference33398

    Public exploit archive reference. This is not confirmation of exploitation. The exploit body is not stored here.

    exploit-db.com
  • Oracle Critical Patch UpdatesVendor advisoryCVE-2009-4019

    mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 does not (1) properly handle errors during execution of certain SELECT statements with subqueries, and does not (2) preserve certain null_value flags during execution of statements that use the GeomFromWKB function, which allows remote authenticated users to cause a denial of service (daemon crash) via a crafted statement.

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 23, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.