MySQL 5.1 before 5.1.51 and 5.5 before 5.5.6 allows remote authenticated users to cause a denial of service (infinite loop) via multiple invocations of a (1) prepared statement or (2) stored procedure that creates a query with nested JOIN statements.
https://exchange.xforce.ibmcloud.com/vulnerabilities/64839
https://bugzilla.redhat.com/show_bug.cgi?id=640861
http://www.vupen.com/english/advisories/2011/0170
http://www.ubuntu.com/usn/USN-1397-1
http://www.ubuntu.com/usn/USN-1017-1
http://www.securityfocus.com/bid/43676
http://www.redhat.com/support/errata/RHSA-2011-0164.html
http://www.redhat.com/support/errata/RHSA-2010-0825.html
http://www.mandriva.com/security/advisories?name=MDVSA-2010:223
http://www.mandriva.com/security/advisories?name=MDVSA-2010:222
http://secunia.com/advisories/42936
http://dev.mysql.com/doc/refman/5.5/en/news-5-5-6.html
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html
http://bugs.mysql.com/bug.php?id=53544