{"id":"CVE-2005-0709","aliases":["DSA-707-1","EUVD-2005-0710","GHSA-3x8w-p58r-45ff","RHSA-2005:334"],"status":"published","title":"MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT...","description":"MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.1844,"percentile":0.97256,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-94"],"published":"2005-03-11T05:00:00Z","modified":"2026-06-29T10:01:19Z","exploits":[{"source":"exploitdb","id":"EDB-25209","title":"MySQL 4.x - CREATE FUNCTION Arbitrary libc Code Execution","type":"remote","platform":"multiple","date":"2005-03-11","verified":true,"url":"https://www.exploit-db.com/exploits/25209"}],"affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.23.49-8.11"}]}],"versions":["3.23.49-8.10","3.23.49-8.8","3.23.49-8.9"],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.23.58-15.RHEL3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.10a-1.RHEL4.1"}]}],"bundled":3}],"products":[{"vendor":"mysql","product":"mysql"},{"vendor":"oracle","product":"mysql"}],"references":[{"url":"http://www.trustix.org/errata/2005/0009/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","Patch"]},{"url":"http://www.debian.org/security/2005/dsa-707","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch"]},{"url":"http://marc.info/?l=bugtraq\u0026m=111066115808506\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://archives.neohapsis.com/archives/vulnwatch/2005-q1/0084.html","tags":["mailing-list","x_refsource_VULNWATCH","x_transferred","Exploit"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-334.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-101864-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2005_19_mysql.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Patch"]},{"url":"https://usn.ubuntu.com/96-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-348.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2005/Aug/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:060","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200503-19.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Patch"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10479","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2005//Aug/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/12781","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0709","tags":["advisory"]},{"url":"https://usn.ubuntu.com/96-1"},{"url":"http://www.trustix.org/errata/2005/0009"},{"url":"https://github.com/advisories/GHSA-3x8w-p58r-45ff"},{"url":"https://access.redhat.com/errata/RHSA-2005:334","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=150868","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=150871","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=151051","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=152344","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_334.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0709","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617560","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0709","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0710","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617561","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0710","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0710","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0711","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617562","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0711","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0711","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-0709","description":"MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.","status":"published","published":"2005-03-11T05:00:00Z","modified":"2024-08-07T21:21:06.515Z","updated_at":"2026-11-02T14:33:40.245652Z"}],"euvd":[{"id":"EUVD-2005-0710","description":"MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.","status":"published","published":"2005-03-11T05:00:00Z","modified":"2024-08-07T21:21:06Z","updated_at":"2026-11-03T01:15:37.24549Z"}],"ghsa":[{"id":"GHSA-3x8w-p58r-45ff","title":"MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT...","description":"MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.","status":"published","published":"2022-05-01T01:51:27Z","modified":"2025-04-03T04:11:51Z","cwes":["CWE-94"],"updated_at":"2026-11-02T15:00:41.656394Z"}],"nvd":[{"id":"CVE-2005-0709","description":"MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.","status":"published","published":"2005-05-02T04:00:00Z","modified":"2026-06-16T22:11:37.7Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:00:54.933728Z"}],"osv":[{"id":"DSA-707-1","title":"mysql - several","status":"published","published":"2005-04-13T00:00:00Z","modified":"2026-03-09T02:09:07.995364Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"RHSA-2005:334","title":"Red Hat Security Advisory: mysql security update","status":"published","published":"2024-09-13T06:22:25Z","modified":"2026-06-29T10:01:19Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
