the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : 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.
Publish Date : 2017-04-21 Last Update Date : 2018-10-09
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Denial Of ServiceExecute Code
CWE ID 787

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2016:2598: php security and bug fix update (Moderate) oval:com.redhat.rhsa:def:20162598 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2016-5399

# Product Type Vendor Product Version Update Edition Language
1 Application PHP PHP 5.5.37 Version Details Vulnerabilities
2 Application PHP PHP 5.6.0 Beta4 Version Details Vulnerabilities
3 Application PHP PHP 5.6.0 Alpha4 Version Details Vulnerabilities
4 Application PHP PHP 5.6.0 Alpha5 Version Details Vulnerabilities
5 Application PHP PHP 5.6.0 Beta1 Version Details Vulnerabilities
6 Application PHP PHP 5.6.0 Alpha1 Version Details Vulnerabilities
7 Application PHP PHP 5.6.0 Beta2 Version Details Vulnerabilities
8 Application PHP PHP 5.6.0 Alpha2 Version Details Vulnerabilities
9 Application PHP PHP 5.6.0 Beta3 Version Details Vulnerabilities
10 Application PHP PHP 5.6.0 Alpha3 Version Details Vulnerabilities
11 Application PHP PHP 5.6.1 Version Details Vulnerabilities
12 Application PHP PHP 5.6.2 Version Details Vulnerabilities
13 Application PHP PHP 5.6.3 Version Details Vulnerabilities
14 Application PHP PHP 5.6.4 Version Details Vulnerabilities
15 Application PHP PHP 5.6.5 Version Details Vulnerabilities
16 Application PHP PHP 5.6.6 Version Details Vulnerabilities
17 Application PHP PHP 5.6.7 Version Details Vulnerabilities
18 Application PHP PHP 5.6.8 Version Details Vulnerabilities
19 Application PHP PHP 5.6.9 Version Details Vulnerabilities
20 Application PHP PHP 5.6.10 Version Details Vulnerabilities
21 Application PHP PHP 5.6.11 Version Details Vulnerabilities
22 Application PHP PHP 5.6.12 Version Details Vulnerabilities
23 Application PHP PHP 5.6.13 Version Details Vulnerabilities
24 Application PHP PHP 5.6.14 Version Details Vulnerabilities
25 Application PHP PHP 5.6.15 Version Details Vulnerabilities
26 Application PHP PHP 5.6.16 Version Details Vulnerabilities
27 Application PHP PHP 5.6.17 Version Details Vulnerabilities
28 Application PHP PHP 5.6.18 Version Details Vulnerabilities
29 Application PHP PHP 5.6.19 Version Details Vulnerabilities
30 Application PHP PHP 5.6.20 Version Details Vulnerabilities
31 Application PHP PHP 5.6.21 Version Details Vulnerabilities
32 Application PHP PHP 5.6.22 Version Details Vulnerabilities
33 Application PHP PHP 5.6.23 Version Details Vulnerabilities
34 Application PHP PHP 7.0.0 Version Details Vulnerabilities
35 Application PHP PHP 7.0.1 Version Details Vulnerabilities
36 Application PHP PHP 7.0.2 Version Details Vulnerabilities
37 Application PHP PHP 7.0.3 Version Details Vulnerabilities
38 Application PHP PHP 7.0.4 Version Details Vulnerabilities
39 Application PHP PHP 7.0.5 Version Details Vulnerabilities
40 Application PHP PHP 7.0.6 Version Details Vulnerabilities
41 Application PHP PHP 7.0.7 Version Details Vulnerabilities
42 Application PHP PHP 7.0.8 Version Details Vulnerabilities
43 Application PHP PHP 7.0.9 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions

- References For CVE-2016-5399
BID 92051 PHP 'bzread()' Function Out of Bounds Remote Code Execution Vulnerability Release Date:2017-01-17
BUGTRAQ 20160721 CVE-2016-5399: php: out-of-bounds write in bzread() CONFIRM
MLIST [oss-security] 20160721 CVE-2016-5399: php: out-of-bounds write in bzread() CONFIRM
REDHAT RHSA-2016:2598
REDHAT RHSA-2016:2750
FULLDISC 20160725 CVE-2016-5399: php: out-of-bounds write in bzread()

- Metasploit Modules Related To CVE-2016-5399

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.