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.
https://www.exploit-db.com/exploits/40155/
https://bugzilla.redhat.com/show_bug.cgi?id=1358395
https://bugs.php.net/bug.php?id=72613
http://www.securitytracker.com/id/1036430
http://www.securityfocus.com/bid/92051
http://www.openwall.com/lists/oss-security/2016/07/21/1
http://seclists.org/fulldisclosure/2016/Jul/72
http://php.net/ChangeLog-7.php
http://php.net/ChangeLog-5.php
http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html
http://www.debian.org/security/2016/dsa-3631
http://rhn.redhat.com/errata/RHSA-2016-2750.html
http://rhn.redhat.com/errata/RHSA-2016-2598.html
https://security.netapp.com/advisory/ntap-20180112-0001/
http://www.securityfocus.com/archive/1/538966/100/0/threaded
Source: MITRE
Published: 2017-04-21
Updated: 2022-08-16
Type: CWE-787
Base Score: 6.8
Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P
Impact Score: 6.4
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 7.8
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Impact Score: 5.9
Exploitability Score: 1.8
Severity: HIGH