CVE-2016-5399: php Out-of-bounds Write
Vulnerability summary
CVE-2016-5399 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in php. EPSS estimates a 9.84% chance of exploitation in the next 30 days, higher than 95.5% of scored vulnerabilities. 5 public exploits are recorded.
Public exploit (exploit-database, 25-07-2016)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 7Timeline
- 21-04-2017PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 2 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
9.84%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
No change 0.00 pp
From 9.84% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
5 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (seclists.org)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- php5< 5.5.9+dfsg-1ubuntu4.19
- php7.0< 7.0.8-0ubuntu0.16.04.2
Php1 product
- php≤ 5.5.37 | ≥ 5.6.0, < 5.6.24 | ≥ 7.0.0, < 7.0.9
2 vendors · 3 products
References
19 links- packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- bugzilla.redhat.com/show_bug.cgi?id=1358395X Refsource CONFIRMIssue TrackingThird Party AdvisoryVDB Entry
- www.openwall.com/lists/oss-security/2016/07/21/1Mailing ListX Refsource MLISTExploitThird Party Advisory
- www.securityfocus.com/archive/1/538966/100/0/threadedMailing ListX Refsource BUGTRAQThird Party AdvisoryVDB Entry
Show all 19 references
- php.net/ChangeLog-7.phpREPORT