{"id":"CVE-2012-2386","published":"2012-07-07T10:00:00Z","modified":"2024-08-06T19:34:25Z","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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.4211,"percentile":0.98724,"provenance":"source"},"cwes":[],"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","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","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","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.74},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2011-04-22"},"first":{"date":"2011-04-22","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/17201"},"provenance":"source"},"summary":{"text":"The flaw is an integer overflow in the phar_parse_tarfile function in tar.c within the phar extension of PHP, affecting versions before 5.3.14 and 5.4.x before 5.4.4.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:07Z"},"euvd":{"id":"EUVD-2012-2374","exploited":false,"provenance":"source"},"exploits":[{"id":17201,"url":"https://www.exploit-db.com/exploits/17201","title":"PHP 'phar' Extension 1.1.1 - Heap Overflow","date":"2011-04-22","verified":false,"provenance":"source"}]}