Vulnerability database / CVE-2016-5399
CVE-2016-5399
HIGH 7.8 CVSS 3.1 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.
Published 21 Apr 2017
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-787 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
<= 5.5.37
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.6.0, < 5.6.24
5.6.24 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.0.9
7.0.9
References
http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html · Exploit, Third Party Advisory, VDB Entry http://php.net/ChangeLog-5.php · Release Notes, Vendor Advisory http://php.net/ChangeLog-7.php · Release Notes, Vendor Advisory http://rhn.redhat.com/errata/RHSA-2016-2598.html · Third Party Advisory http://rhn.redhat.com/errata/RHSA-2016-2750.html · Third Party Advisory http://seclists.org/fulldisclosure/2016/Jul/72 · Exploit, Mailing List, Third Party Advisory http://www.debian.org/security/2016/dsa-3631 · Third Party Advisory http://www.openwall.com/lists/oss-security/2016/07/21/1 · Exploit, Mailing List, Third Party Advisory http://www.securityfocus.com/archive/1/538966/100/0/threaded · Third Party Advisory, VDB Entry http://www.securityfocus.com/bid/92051 · Third Party Advisory, VDB Entry http://www.securitytracker.com/id/1036430 · Third Party Advisory, VDB Entry https://bugs.php.net/bug.php?id=72613 · Exploit, Vendor Advisory https://bugzilla.redhat.com/show_bug.cgi?id=1358395 · Issue Tracking, Third Party Advisory, VDB Entry https://security.netapp.com/advisory/ntap-20180112-0001/ · Third Party Advisory https://www.exploit-db.com/exploits/40155/ · Exploit, Third Party Advisory, VDB Entry
History
25 Nov 2026 20:19 UTC · NVD: first stored (published 21 Apr 2017)