{"id":"CVE-2012-2386","state":"PUBLISHED","title":"Integer overflow in the phar_parse_tarfile function in tar.c in the phar extension in PHP before 5.3.14 and 5.4.x before 5.4.4 allows remote attackers to cause a denial of service ","description":"Integer overflow in the phar_parse_tarfile function in tar.c in the phar extension in PHP before 5.3.14 and 5.4.x before 5.4.4 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted tar file that triggers a heap-based buffer overflow.","publishedAt":"2012-07-07T10:00:00.000Z","updatedAt":"2024-08-06T19:34:25.269Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854","https://bugzilla.redhat.com/show_bug.cgi?id=823594","http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html","https://bugs.php.net/bug.php?id=61065","http://www.php.net/ChangeLog-5.php","http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","http://support.apple.com/kb/HT5501","http://openwall.com/lists/oss-security/2012/05/22/10","http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:19.239Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/2xxx/CVE-2012-2386.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-2386","state":"PUBLISHED","datePublished":"2012-07-07T10:00:00.000Z","dateUpdated":"2024-08-06T19:34:25.269Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-04-19T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Integer overflow in the phar_parse_tarfile function in tar.c in the phar extension in PHP before 5.3.14 and 5.4.x before 5.4.4 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted tar file that triggers a heap-based buffer overflow."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=823594","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html","name":"SUSE-SU-2012:0840","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://bugs.php.net/bug.php?id=61065","tags":["x_refsource_CONFIRM"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","name":"APPLE-SA-2012-09-19-2","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://support.apple.com/kb/HT5501","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2012/05/22/10","name":"[oss-security] 20120522 Re: CVE request: PHP Phar - arbitrary code execution","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2012-07-23T09:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2011-04-21T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=823594","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html","name":"SUSE-SU-2012:0840","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=61065","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html","name":"APPLE-SA-2012-09-19-2","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://support.apple.com/kb/HT5501","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2012/05/22/10","name":"[oss-security] 20120522 Re: CVE request: PHP Phar - arbitrary code execution","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T19:34:25.269Z"}}]}}}