There are multiple vulnerabilities in mysql which have been identifed from 2000 to the present. Attacks may involve buffer overflow, memory corruption, weak default passwords. Many of these weaknesses may lead to a compromise of the target host.
Visit the www.mysql.com web site for the current non-vulnerable system.