CVE-2012-2386
HIGH · CVSS 7.5EPSS 42.5%EU EUVD
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.
Key facts
- CVSS score
- 7.5 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P- Weakness (CWE)
- CWE-189
- EPSS score
- 42.5% (99th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2012-2374)
- Published
- July 7, 2012
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2012-2374 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.
View on the EU Vulnerability DatabaseAffected products
- php / php
References
- http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html(Exploit, Third Party Advisory)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html(Mailing List, Third Party Advisory)
- http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html(Mailing List, Third Party Advisory)
- http://openwall.com/lists/oss-security/2012/05/22/10(Mailing List, Third Party Advisory)
- http://support.apple.com/kb/HT5501(Third Party Advisory)
- http://www.php.net/ChangeLog-5.php(Vendor Advisory)
- https://bugs.php.net/bug.php?id=61065(Vendor Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=823594(Issue Tracking, Third Party Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain