Vulnerability in PHP
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.425 (98.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 99th percentile — 98.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.425 · newest: 0.425 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- git.php.net/
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html (vendor-advisory, Mailing List, Third Party Advisory)
- bugs.php.net/bug.php (Vendor Advisory)
- www.php.net/ChangeLog-5.php (Vendor Advisory)
- lists.apple.com/archives/security-announce/2012/Sep/msg00004.html (vendor-advisory, Mailing List, Third Party Advisory)
- support.apple.com/kb/HT5501 (Third Party Advisory)
- openwall.com/lists/oss-security/2012/05/22/10 (mailing-list, Mailing List, Third Party Advisory)
- 0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2012-2386?
- CVE-2012-2386 is a vulnerability in PHP, classified under CWE-189. Published 2012-07-07.
- Is CVE-2012-2386 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.