Unscored severity · published Jul 7, 2012
CVE-2012-2386
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…
–
CVSS
42.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)42.5% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.3.13; 5.4.0 before 5.4.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-2386
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-2386
Exploit
http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html
git.php.net
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854
Mailing List
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
Mailing List
http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html
Mailing List
http://openwall.com/lists/oss-security/2012/05/22/10
Third Party Advisory
http://support.apple.com/kb/HT5501
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
