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.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 95th percentile — 95.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.088 · newest: 0.088 · change: 0.000
Affected products
- PHP — versions 7.0.0, 7.0.1, 7.0.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/php/php-src/commit/28f80baf3c53e267c9ce46a2a0fadbb981585132 (Patch, Issue Tracking)
- www.php.net/ChangeLog-7.php (Release Notes)
- security.gentoo.org/glsa/201611-22 (vendor-advisory)
- www.securitytracker.com/id/1036836 (vdb-entry)
- bugs.php.net/bug.php (Exploit, Issue Tracking)
- www.openwall.com/lists/oss-security/2016/09/15/10 (mailing-list, Mailing List)
- access.redhat.com/errata/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)
Frequently asked questions
- What is CVE-2016-7412?
- CVE-2016-7412 is a high-severity vulnerability in PHP, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 8.1/10. Published 2016-09-17.
- How severe is CVE-2016-7412?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2016-7412 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.