Buffer overflow in client/mysql.cc in Oracle MySQL and MariaDB before 5.5.35 allows remote database servers to cause a denial of service (crash) and possibly execute arbitrary code via a long server version string.
https://mariadb.com/kb/en/mariadb-5535-changelog/
https://exchange.xforce.ibmcloud.com/vulnerabilities/90901
https://bugzilla.redhat.com/show_bug.cgi?id=1054592
http://www.securitytracker.com/id/1029708
http://www.securityfocus.com/bid/65298
http://security.gentoo.org/glsa/glsa-201409-04.xml
http://secunia.com/advisories/52161
http://rhn.redhat.com/errata/RHSA-2014-0189.html
http://rhn.redhat.com/errata/RHSA-2014-0186.html
http://rhn.redhat.com/errata/RHSA-2014-0173.html
http://rhn.redhat.com/errata/RHSA-2014-0164.html
http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/2502.565.64