CVE-2012-2386 Integer overflow in n/a
Remote attackers can cause denial of service or execute arbitrary code via a crafted tar file due to an integer overflow in the PHP phar extension.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-2386?
CVE-2012-2386 is a high-severity vulnerability in Php Php, published on 7 Jul 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-189
Which versions are affected by CVE-2012-2386?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2012-2386?
Upgrade to a fixed version.
Is CVE-2012-2386 being exploited?
There is no known exploitation of CVE-2012-2386 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as DSA-2492-1, GHSA-479m-5qr8-x9r6.