Stack-based buffer overflow in the mysql_real_connect function in the MySql client library (libmysqlclient) 4.0.13 and earlier allows local users to execute arbitrary code via a long socket name, a different vulnerability than CVE-2001-1453.
https://exchange.xforce.ibmcloud.com/vulnerabilities/12337
http://www.securityfocus.com/bid/7887
http://archives.neohapsis.com/archives/fulldisclosure/2003-q2/1303.html