{"id":"CVE-2016-5399","published":"2017-04-21T20:00:00Z","modified":"2024-08-06T01:01:00Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.09844,"percentile":0.95672,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/92051","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html","tags":["x_refsource_MISC"]},{"url":"http://seclists.org/fulldisclosure/2016/Jul/72","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1358395","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/07/21/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/archive/1/538966/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://bugs.php.net/bug.php?id=72613","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2598.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1036430","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.debian.org/security/2016/dsa-3631","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/40155/","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.13},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-07-25"},"first":{"date":"2016-07-25","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/40155"},"provenance":"source"},"summary":{"text":"The bzread function in the bz2 extension (ext/bz2/bz2.c) of PHP versions before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 contains an out-of-bounds write flaw. An attacker can exploit it by supplying a crafted bz2 archive to a PHP application that reads it through this function, causing a denial of service or arbitrary code execution; the attack vector, authentication requirements, and any user interaction needed are not specified in the available information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:54:02Z"},"euvd":{"id":"EUVD-2016-6344","exploited":false,"provenance":"source"},"exploits":[{"id":40155,"url":"https://www.exploit-db.com/exploits/40155","title":"PHP 5.5.37/5.6.23/7.0.8 - 'bzread()' Out-of-Bounds Write","date":"2016-07-25","verified":true,"provenance":"source"}],"exploitRefs":["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"]}