{"id":"CVE-2016-5399","details":"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.","modified":"2026-02-24T01:10:09.854566Z","published":"2017-04-21T20:59:00.837Z","related":["SUSE-SU-2016:2080-1","SUSE-SU-2016:2210-1","SUSE-SU-2016:2328-1","SUSE-SU-2016:2408-1","SUSE-SU-2016:2460-1","SUSE-SU-2016:2460-2"],"references":[{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-5.php"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-7.php"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-2598.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2016/Jul/72"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3631"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/07/21/1"},{"type":"ADVISORY","url":"http://www.securityfocus.com/archive/1/538966/100/0/threaded"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/92051"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1036430"},{"type":"ADVISORY","url":"https://bugs.php.net/bug.php?id=72613"},{"type":"ADVISORY","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1358395"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180112-0001/"},{"type":"ADVISORY","url":"https://www.exploit-db.com/exploits/40155/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1358395"},{"type":"ARTICLE","url":"http://seclists.org/fulldisclosure/2016/Jul/72"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2016/07/21/1"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/137998/PHP-7.0.8-5.6.23-5.5.37-bzread-OOB-Write.html"},{"type":"EVIDENCE","url":"http://seclists.org/fulldisclosure/2016/Jul/72"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2016/07/21/1"},{"type":"EVIDENCE","url":"https://bugs.php.net/bug.php?id=72613"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/40155/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"90fc27f17abb5cb9c7006987fe53b62d66f981a7"},{"fixed":"c86338a35cda8514c8d2f38e62808f9bcfe0e4cb"},{"introduced":"cd4973d4acae08e6636843b8e706547b33658693"},{"fixed":"bcb96821bdb56d92e523a099a7079d141a853252"}]}],"database_specific":{"vanir_signatures":[{"deprecated":false,"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["198011536025072107975883186380452148843","331728417024842654446570071457159069395","205456331668105326830182380336029223146","164282985402725457749299583506046134408","320137256578601229186691392718001358014"]},"id":"CVE-2016-5399-3da0fc9f","target":{"file":"ext/standard/basic_functions.c"},"signature_version":"v1","source":"https://github.com/php/php-src/commit/c86338a35cda8514c8d2f38e62808f9bcfe0e4cb"}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-5399.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}