Live threats

All CVEs / Php

CVE-2012-2386Php

High 7.5 No auth neededHigh EPSS

Priority
64
CVSS 2.0
7.5
EPSS
42.1%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Jul 7, 2012
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-189
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≤ 5.3.13
phpphp≥ 5.4.0 < 5.4.4

Official sources

References

Links published by the sources. Open them with care.