CVE-2012-2386
HIGHEPSS 99th pctlDescription
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 to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v2 Vector
No CVSS vector data available.
Exploit Intelligence
Very high risk: more likely to be exploited than 99% of all known CVEs.
References
Related Vulnerabilities
Other CWE-189 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2015-1538 | High | 10.0 | 99% | - | - |
| CVE-2006-3747 | High | 7.6 | 96% | - | Fix |
| CVE-2007-0071 | High | 9.3 | 93% | - | - |
| CVE-2015-3829 | High | 10.0 | 90% | - | - |
| CVE-2015-3864 | High | 10.0 | 87% | - | - |
| CVE-2015-1539 | High | 10.0 | 86% | - | - |
Common questions
How do I fix CVE-2012-2386?
Upgrade php to 5.4.4 or later.
Is CVE-2012-2386 being actively exploited?
Not that we know of. CVE-2012-2386 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 42.5% is the estimated probability that it will be exploited in the next 30 days. That is higher than 99% of all scored CVEs.
How severe is CVE-2012-2386?
CVE-2012-2386 has a CVSS v2 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2012-2386 affect?
Published advisories record a fix for php (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2012-2386
Markdown
[](https://tridentstack.com/cve/CVE-2012-2386)HTML
<a href="https://tridentstack.com/cve/CVE-2012-2386"><img src="https://tridentstack.com/cve/badge/CVE-2012-2386.svg" alt="CVE-2012-2386"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-29.