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.
https://www.ubuntu.com/usn/usn-180-2/
https://www.ubuntu.com/usn/usn-180-1/
https://exchange.xforce.ibmcloud.com/vulnerabilities/21737
http://www.vupen.com/english/advisories/2008/1326/references
http://www.securityfocus.com/bid/14509
http://www.redhat.com/archives/fedora-legacy-announce/2006-January/msg00005.html
http://www.novell.com/linux/security/advisories/2005_21_sr.html
http://www.mandriva.com/security/advisories?name=MDKSA-2005:163
http://www.debian.org/security/2005/dsa-833
http://www.debian.org/security/2005/dsa-831
http://www.debian.org/security/2005/dsa-829
http://www.appsecinc.com/resources/alerts/mysql/2005-002.html
http://sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1
http://secunia.com/advisories/29847
http://secunia.com/advisories/20381
http://secunia.com/advisories/17027
http://marc.info/?l=bugtraq&m=112354450412427&w=2
http://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035845.html