{"id":"CVE-2005-2558","aliases":["DEBIAN-CVE-2005-2558","DSA-829-1","DSA-831-1","DSA-833-2","EUVD-2005-2559","GHSA-qxmx-9x27-fp8j"],"status":"published","title":"Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1...","description":"Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.","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.02328,"percentile":0.83614,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2005-08-16T04:00:00Z","modified":"2026-06-16T22:15:12Z","fixes":[{"ecosystem":"Debian:3.0","package":"mysql","fixed_in":["3.23.49-8.14"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"mysql-dfsg-4.1","fixed_in":["4.1.11a-4sarge2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.23.49-8.14"}]}],"versions":["3.23.49-8.10","3.23.49-8.11","3.23.49-8.13","3.23.49-8.8","3.23.49-8.9"]},{"source":"osv","ecosystem":"Debian:3.1","package":"mysql-dfsg-4.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.11a-4sarge2"}]}],"versions":["4.1.11a-4","4.1.11a-4sarge1"]},{"source":"osv","ecosystem":"Debian:3.1","package":"mysql-dfsg-4.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.11a-4sarge2"}]}],"versions":["4.1.11a-4","4.1.11a-4sarge1"]}],"products":[{"vendor":"mysql","product":"mysql"},{"vendor":"oracle","product":"mysql"}],"references":[{"url":"http://www.debian.org/security/2005/dsa-831","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/21737","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:163","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035845.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Patch","Vendor Advisory"]},{"url":"https://www.ubuntu.com/usn/usn-180-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://www.ubuntu.com/usn/usn-180-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2005_21_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.debian.org/security/2005/dsa-833","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.debian.org/security/2005/dsa-829","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/20381","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/14509","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred"]},{"url":"http://www.redhat.com/archives/fedora-legacy-announce/2006-January/msg00005.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.appsecinc.com/resources/alerts/mysql/2005-002.html","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=112354450412427\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/1326/references","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.18.1/SCOSA-2006.18.1.txt","tags":["vendor-advisory","x_refsource_SCO","x_transferred"]},{"url":"http://secunia.com/advisories/17027","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/29847","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-2558"},{"url":"https://github.com/advisories/GHSA-qxmx-9x27-fp8j"}],"sources":{"cve":[{"id":"CVE-2005-2558","description":"Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.","status":"published","published":"2005-08-16T04:00:00Z","modified":"2024-08-07T22:30:01.178Z","updated_at":"2026-11-02T14:33:37.840038Z"}],"euvd":[{"id":"EUVD-2005-2559","description":"Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.","status":"published","published":"2005-08-16T04:00:00Z","modified":"2024-08-07T22:30:01Z","updated_at":"2026-11-03T01:15:30.566873Z"}],"ghsa":[{"id":"GHSA-qxmx-9x27-fp8j","title":"Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1...","description":"Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.","status":"published","published":"2022-05-03T03:14:16Z","modified":"2023-02-01T05:01:12Z","updated_at":"2026-11-02T14:49:41.113902Z"}],"nvd":[{"id":"CVE-2005-2558","description":"Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.","status":"published","published":"2005-08-16T04:00:00Z","modified":"2026-06-16T22:15:12.197Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:56.147496Z"}],"osv":[{"id":"DSA-829-1","title":"mysql - several","status":"published","published":"2005-09-30T00:00:00Z","modified":"2026-03-09T02:09:06.660685Z","updated_at":"2026-11-02T15:46:18.716547Z"},{"id":"DSA-831-1","title":"mysql-dfsg-4.1 - several","status":"published","published":"2005-09-30T00:00:00Z","modified":"2026-03-09T02:09:55.574929Z","updated_at":"2026-11-02T15:46:18.716547Z"},{"id":"DSA-833-2","title":"mysql-dfsg-4.1 - buffer overflow","status":"published","published":"2005-10-01T00:00:00Z","modified":"2026-03-09T02:11:05.326421Z","updated_at":"2026-11-02T15:46:18.716547Z"}]}}
