CVE-2012-2386

CVE-2012-2386 is a high-severity vulnerability in Php with a CVSS 2.0 base score of 7.5. Its EPSS exploit-prediction score of 42% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-189.

Key facts

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.

Frequently asked questions

What is 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 (application crash) or possibly execute arbitrary code via a crafted tar file that triggers a heap-based buffer overflow.
How severe is CVE-2012-2386?
CVE-2012-2386 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2012-2386 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 42% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-2386?
CVE-2012-2386 affects Php. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2012-2386?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2012-2386 published?
CVE-2012-2386 was published on 2012-07-07 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Php

All CVEs affecting Php →

Other CWE-189 (Numeric Errors) vulnerabilities

Browse all CWE-189 (Numeric Errors) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: