ext/mysqlnd/mysqlnd_wireprotocol.c in PHP before 5.6.26 and 7.x before 7.0.11 does not verify that a BIT field has the UNSIGNED_FLAG flag, which allows remote MySQL servers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted field metadata.
https://www.tenable.com/security/tns-2016-19
https://security.gentoo.org/glsa/201611-22
https://github.com/php/php-src/commit/28f80baf3c53e267c9ce46a2a0fadbb981585132?w=1
https://access.redhat.com/errata/RHSA-2018:1296
http://www.securitytracker.com/id/1036836
http://www.securityfocus.com/bid/93005
http://www.php.net/ChangeLog-7.php