Buffer overflow in PHP
CVE-2016-7412
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.088, 95.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 7.0.0, 7.0.1, 7.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, imhunterand/hackerone-publicy-disclosed, RClueX/Hackerone-Reports). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/php/php-src/commit/28f80baf3c53e267c9ce46a2a0fadbb981585132 (Patch, Issue Tracking)
- www.php.net/ChangeLog-7.php (Release Notes)
- GLSA-201611-22 (vendor-advisory)
- www.securitytracker.com/id/1036836 (vdb-entry)
- bugs.php.net/bug.php (Exploit, Issue Tracking)
- [oss-security] 20160915 Re: CVE assignment for PHP 5.6.26 and 7.0.11 (mailing-list, Mailing List)
- RHSA-2018:1296 (vendor-advisory)
- www.php.net/ChangeLog-5.php (Release Notes)
- www.tenable.com/security/tns-2016-19
- www.securityfocus.com/bid/93005 (vdb-entry)