BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2012-2386

HIGH 7.5 CVSS 2.0
Published
July 7, 2012
Last modified
June 16, 2026
NVD status
Modified
Reported by
secalert@redhat.com
Weakness
CWE-189
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

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.

Affected products and versions

  • PHP — Up to and including 5.3.13
  • PHP — From 5.4.0 (including) to 5.4.4 (excluding)

References

  • 0x1byte.blogspot.com http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html Exploit, Third Party Advisory
  • git.php.net http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854
  • lists.apple.com http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html Mailing List, Third Party Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html Mailing List, Third Party Advisory
  • openwall.com http://openwall.com/lists/oss-security/2012/05/22/10 Mailing List, Third Party Advisory
  • support.apple.com http://support.apple.com/kb/HT5501 Third Party Advisory
  • www.php.net http://www.php.net/ChangeLog-5.php Vendor Advisory
  • bugs.php.net https://bugs.php.net/bug.php?id=61065 Vendor Advisory
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=823594 Issue Tracking, Third Party Advisory
  • nvd.nist.gov Official NVD record