{"id":"CVE-2016-3142","details":"The phar_parse_zipfile function in zip.c in the PHAR extension in PHP before 5.5.33 and 5.6.x before 5.6.19 allows remote attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and application crash) by placing a PK\\x05\\x06 signature at an invalid location.","modified":"2026-04-10T03:49:23.028381Z","published":"2016-03-31T16:59:01.210Z","related":["SUSE-SU-2016:1145-1","SUSE-SU-2016:1166-1","SUSE-SU-2016:1581-1","SUSE-SU-2016:1638-1"],"references":[{"type":"WEB","url":"https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=a6fdc5bb27b20d889de0cd29318b3968aabb57bd"},{"type":"WEB","url":"http://lists.apple.com/archives/security-announce/2016/May/msg00004.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00052.html"},{"type":"WEB","url":"https://bugs.php.net/bug.php?id=71498"},{"type":"WEB","url":"https://php.net/ChangeLog-5.php"},{"type":"WEB","url":"https://support.apple.com/HT206567"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00056.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00057.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00058.html"},{"type":"WEB","url":"http://www.securitytracker.com/id/1035255"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2952-2"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2952-1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"last_affected":"523bb2473470242c9b167584247bf7c6b4bcb8d5"},{"introduced":"0"},{"last_affected":"fc1df8e7a6886e29a6ed5bef3f674ac61164e847"},{"introduced":"0"},{"last_affected":"939409d36feb09b882d521ec9ceecce6999ab199"},{"introduced":"0"},{"last_affected":"f94c1df85fb004bb35091da5cebe730589a409b8"},{"introduced":"0"},{"last_affected":"df586243a3a8367d69f22990f1246dec4bbf437a"},{"introduced":"0"},{"last_affected":"c37265eacdd0186cb3b0bfeb0e0104c8563807ef"},{"introduced":"0"},{"last_affected":"b1ffeb3a7f320549cbb1873f85f0da18e9a5a6ce"},{"introduced":"0"},{"last_affected":"ae15e636e2b213bf748fa0b94ca95ac96d6eae3a"},{"introduced":"0"},{"last_affected":"effcb5a97358f01714bd833c8063a4a7abe9dff1"},{"introduced":"0"},{"last_affected":"7603abbc5186e276a5a68c6ef28d1728e4a37ec4"},{"introduced":"0"},{"last_affected":"2610d63a482e708ba28cf8e056f47412445a6c53"},{"introduced":"0"},{"last_affected":"c9e5f38e5b62fb6e5b60fe0759f51ab137ae8fd6"},{"introduced":"0"},{"last_affected":"d8e4dcdfd617f1c1c942db63527d1d3838ede7c4"},{"introduced":"0"},{"last_affected":"f2722bdbc60403300a033ee8091a2da31f7c90c1"},{"introduced":"0"},{"last_affected":"f5751638dbd77136ce5c90e7d8bd090aa655c2a3"},{"introduced":"0"},{"last_affected":"2f0d051bfd43315bedfff2de3137abd2c67741a6"},{"introduced":"0"},{"last_affected":"8eff5afaced13c9c30337c11da4920fc1d2394ce"},{"introduced":"0"},{"last_affected":"cb80afc366df74ec7ab701a853407a69cc148f5d"},{"introduced":"0"},{"last_affected":"e808a7687ecd82ea18d6a83cb1f003a84831c0e2"},{"introduced":"0"},{"last_affected":"62cf13d3aa08b15107b02a0505a4f30142fa37b4"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"5.5.32"},{"introduced":"0"},{"last_affected":"5.6.0"},{"introduced":"0"},{"last_affected":"5.6.1"},{"introduced":"0"},{"last_affected":"5.6.2"},{"introduced":"0"},{"last_affected":"5.6.3"},{"introduced":"0"},{"last_affected":"5.6.4"},{"introduced":"0"},{"last_affected":"5.6.5"},{"introduced":"0"},{"last_affected":"5.6.6"},{"introduced":"0"},{"last_affected":"5.6.7"},{"introduced":"0"},{"last_affected":"5.6.8"},{"introduced":"0"},{"last_affected":"5.6.9"},{"introduced":"0"},{"last_affected":"5.6.10"},{"introduced":"0"},{"last_affected":"5.6.11"},{"introduced":"0"},{"last_affected":"5.6.12"},{"introduced":"0"},{"last_affected":"5.6.13"},{"introduced":"0"},{"last_affected":"5.6.14"},{"introduced":"0"},{"last_affected":"5.6.15"},{"introduced":"0"},{"last_affected":"5.6.16"},{"introduced":"0"},{"last_affected":"5.6.17"},{"introduced":"0"},{"last_affected":"5.6.18"}]}}],"versions":["php-5.5.32","php-5.6.0","php-5.6.0RC1","php-5.6.0RC2","php-5.6.0RC3","php-5.6.0RC4","php-5.6.0alpha1","php-5.6.0alpha2","php-5.6.0alpha3","php-5.6.0beta1","php-5.6.0beta2","php-5.6.0beta3","php-5.6.0beta4","php-5.6.1","php-5.6.10","php-5.6.10RC1","php-5.6.11","php-5.6.11RC1","php-5.6.12","php-5.6.12RC1","php-5.6.13","php-5.6.13RC1","php-5.6.14","php-5.6.14RC1","php-5.6.15","php-5.6.15RC1","php-5.6.16","php-5.6.16RC1","php-5.6.17","php-5.6.17RC1","php-5.6.18","php-5.6.1RC1","php-5.6.2","php-5.6.3","php-5.6.3RC1","php-5.6.4","php-5.6.4RC1","php-5.6.5","php-5.6.5RC1","php-5.6.6","php-5.6.6RC1","php-5.6.7","php-5.6.7RC1","php-5.6.8","php-5.6.8RC1","php-5.6.9","php-5.6.9RC1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3142.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"10.11.4"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"}]}