Buffer overflow in PHP

CVE-2016-5399

The bzread function in ext/bz2/bz2.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted bz2 archive.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.098 (95.4th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 95th percentile — 95.4% 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-5399: held from 0.098 to 0.098.

EPSS over last 30 days · oldest: 0.098 · newest: 0.098 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2016-5399?
CVE-2016-5399 is a high-severity vulnerability in PHP, classified under Out-of-bounds Write. CVSS score: 7.8/10. Published 2017-04-21.
How severe is CVE-2016-5399?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2016-5399 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.