CVE-2005-0710: Arbitrary Library Execution via UDF in MySQL
- Vendors
- Oracle CorporationMysql
CVE-2005-0710 is a vulnerability in MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, that allows remote authenticated users with INSERT and DELETE privileges to bypass library path restrictions and execute arbitrary libraries. This is achieved by using the INSERT INTO statement to modify the mysql.func table, which is subsequently processed by the udf_init function, enabling arbitrary code execution via user-defined functions (UDFs).
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.
An attacker with INSERT and DELETE privileges can execute arbitrary code on the MySQL server by injecting malicious libraries as UDFs. This can lead to full compromise of the underlying system, privilege escalation, and further lateral movement within the environment. In the context of the Accellion FTA, this vulnerability can be chained with other flaws to achieve unauthenticated remote code execution as the web server user.
Mitigation
If you can’t patch tonight, do this now.
Restrict database user privileges to the minimum necessary, especially avoiding the use of the root user for application operations. Monitor and audit changes to the mysql.func table. Where possible, disable or restrict the use of user-defined functions (UDFs) and ensure that only trusted libraries can be loaded by the database process.
Remediation
Patch, then assume compromise.
Upgrade MySQL to a version later than 4.1.10 where this vulnerability is patched. Additionally, restrict the use of the root database user for application tasks, and ensure that only trusted users have INSERT and DELETE privileges on the mysql.func table. Apply the vendor's security updates (e.g., Accellion FTA_9_12_130) that address this and related issues.
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-2005-0710 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2005-0710 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2005-0710?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2005-0710.
- Is there a patch for CVE-2005-0710?
- Upgrade MySQL to a version later than 4.1.10 where this vulnerability is patched. Additionally, restrict the use of the root database user for application tasks, and ensure that only trusted users have INSERT and DELETE privileges on the mysql.func table.
- What products are affected by CVE-2005-0710?
- Mysql and Oracle Corporation Mysql.
- How severe is CVE-2005-0710?
- CVE-2005-0710 has a CVSS v2 score of 4.6 (Medium) and an EPSS score of 12.8% (96th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.