MySQL 5.0 before 5.0.66, 5.1 before 5.1.26, and 6.0 before 6.0.6 does not properly handle a b'' (b single-quote single-quote) token, aka an empty bit-string literal, which allows remote attackers to cause a denial of service (daemon crash) by using this token in a SQL statement.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10521
https://exchange.xforce.ibmcloud.com/vulnerabilities/45042
https://bugs.gentoo.org/237166
http://www.vupen.com/english/advisories/2008/2554
http://www.ubuntu.com/usn/USN-671-1
http://www.ubuntu.com/usn/USN-1397-1
http://www.securitytracker.com/id?1020858
http://www.redhat.com/support/errata/RHSA-2009-1289.html
http://www.redhat.com/support/errata/RHSA-2009-1067.html
http://www.openwall.com/lists/oss-security/2008/09/09/7
http://www.openwall.com/lists/oss-security/2008/09/09/4
http://www.mandriva.com/security/advisories?name=MDVSA-2009:094
http://www.debian.org/security/2009/dsa-1783
http://secunia.com/advisories/36566
http://secunia.com/advisories/34907
http://secunia.com/advisories/32769
http://secunia.com/advisories/32759
http://secunia.com/advisories/31769
http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html
http://dev.mysql.com/doc/refman/6.0/en/news-6-0-6.html
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-26.html
http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-66.html