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 trend (30 days)EPSS over the last 30 days for CVE-2016-7412: held from 0.088 to 0.088.

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

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.