CVE-2012-2386

High

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.

SeverityHigh
CVSS7.5
Exploit probability99. percentile42.5%
ProductPhp
PublishedJul 7, 2012
First seenJul 7, 2012
Weakness typeCWE-189CWE-189

How to fix

Update
  • php php5.4.4 or later

Affected products

ProductAffected versionsFixed in
php phpv ≤ 5.3.13, 5.4.0 ≤ v < 5.4.45.4.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2012-2386 · Php · Dark Radar