CVE-2016-5399 EXPLOIT
7.8
HIGH · CVSS 3.1 · EPSS 9.8% (pctl 95)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 7.8 (HIGH, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| EPSS | 9.84% — more likely to be exploited than 95% of all CVEs |
| Weakness | CWE-787 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2017-04-21 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.5.37/5.6.23/7.0.8 - 'bzread()' Out-of-Bounds Write | 2016-07-25 |
References
- http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://rhn.redhat.com/errata/RHSA-2016-2598.html
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://seclists.org/fulldisclosure/2016/Jul/72
- http://www.debian.org/security/2016/dsa-3631
- http://www.openwall.com/lists/oss-security/2016/07/21/1
- http://www.securityfocus.com/archive/1/538966/100/0/threaded
- http://www.securityfocus.com/bid/92051
- http://www.securitytracker.com/id/1036430
- https://bugs.php.net/bug.php?id=72613
- https://bugzilla.redhat.com/show_bug.cgi?id=1358395
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.exploit-db.com/exploits/40155/
- http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://rhn.redhat.com/errata/RHSA-2016-2598.html
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
→ the Explorer · watch your stack · NVD