CVE-2012-2386: PHP
High severity, CVSS 7.5. EPSS: 42.5% chance of exploitation in the next 30 days.
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
- PHP PHP: up to and including 5.3.13; from 5.4.0, before 5.4.4 (fixed in 5.4.4)
Published 2012-07-07. Last modified 2026-06-16.