CVE-2009-0819: DoS via XPath Expression in MySQL ExtractValue/UpdateXML
- Vendors
- Oracle CorporationMysql
In MySQL 5.1 before 5.1.32 and 6.0 before 6.0.10, the functions ExtractValue() and UpdateXML() in sql/item_xmlfunc.cc are vulnerable to a denial of service condition. Remote authenticated users can trigger an assertion failure and crash the server by supplying an XPath expression that uses a scalar expression as a FilterExpr, causing the server to terminate unexpectedly.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote authenticated users to crash the MySQL server, resulting in a denial of service. This can disrupt database availability for all users and applications relying on the affected MySQL instance.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the ExtractValue() and UpdateXML() functions to trusted users only. Monitor and audit database usage for suspicious or malformed XPath expressions. Apply least privilege principles to database accounts.
Remediation
Patch, then assume compromise.
Upgrade MySQL to version 5.1.32, 6.0.10, or later, where the issue has been addressed. Ensure all deployments are running a non-vulnerable version.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2009-0819 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2009-0819 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2009-0819?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2009-0819.
- Is there a patch for CVE-2009-0819?
- Upgrade MySQL to version 5.1.32, 6.0.10, or later, where the issue has been addressed. Ensure all deployments are running a non-vulnerable version.
- What products are affected by CVE-2009-0819?
- Mysql and Oracle Corporation Mysql.
- How severe is CVE-2009-0819?
- CVE-2009-0819 has a CVSS v2 score of 4.0 (Medium) and an EPSS score of 10.2% (96th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.