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.
Vulnerability category: Memory CorruptionExecute codeDenial of service
Threat overview for CVE-2016-5399
Top countries where our scanners detected CVE-2016-5399
Top open port discovered on systems with this issue
80
IPs affected by CVE-2016-5399 152,897
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2016-5399!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2016-5399
Probability of exploitation activity in the next 30 days: 17.68%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 95 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2016-5399
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2016-5399
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-5399
-
https://www.exploit-db.com/exploits/40155/
PHP 5.5.37/5.6.23/7.0.8 - 'bzread()' Out-of-Bounds WriteExploit;Third Party Advisory;VDB Entry
-
http://rhn.redhat.com/errata/RHSA-2016-2598.html
RHSA-2016:2598 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://bugs.php.net/bug.php?id=72613
PHP :: Sec Bug #72613 :: Inadequate error handling in bzread()Exploit;Vendor Advisory
-
http://www.securitytracker.com/id/1036430
PHP Multiple Flaws Let Remote and Local Users Obtain Potentially Sensitive Information and Execute Arbitrary Code - SecurityTrackerThird Party Advisory;VDB Entry
-
http://seclists.org/fulldisclosure/2016/Jul/72
Full Disclosure: CVE-2016-5399: php: out-of-bounds write in bzread()Exploit;Mailing List;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1358395
1358395 – (CVE-2016-5399) CVE-2016-5399 php: Improper error handling in bzread()Issue Tracking;Third Party Advisory;VDB Entry
-
http://www.debian.org/security/2016/dsa-3631
Debian -- Security Information -- DSA-3631-1 php5Third Party Advisory
-
https://security.netapp.com/advisory/ntap-20180112-0001/
September 2017 PHP Vulnerabilities in NetApp Products | NetApp Product SecurityThird Party Advisory
-
http://www.securityfocus.com/archive/1/538966/100/0/threaded
SecurityFocusThird Party Advisory;VDB Entry
-
http://www.openwall.com/lists/oss-security/2016/07/21/1
oss-security - CVE-2016-5399: php: out-of-bounds write in bzread()Exploit;Mailing List;Third Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2750.html
RHSA-2016:2750 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://php.net/ChangeLog-7.php
PHP: PHP 7 ChangeLogRelease Notes;Vendor Advisory
-
http://www.securityfocus.com/bid/92051
PHP 'bzread()' Function Out of Bounds Remote Code Execution VulnerabilityThird Party Advisory;VDB Entry
-
http://php.net/ChangeLog-5.php
PHP: PHP 5 ChangeLogRelease Notes;Vendor Advisory
-
http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html
PHP 7.0.8 / 5.6.23 / 5.5.37 bzread() OOB Write ≈ Packet StormExploit;Third Party Advisory;VDB Entry
Products affected by CVE-2016-5399
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*