CVE-2012-2386
Last modified
CVE-2012-2386 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 42.48% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.3.13 |
| Php | Php | >= 5.4.0, < 5.4.4 |
References
- http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.htmlExploit, Third Party Advisory
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.htmlMailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/05/22/10Mailing List, Third Party Advisory
- http://support.apple.com/kb/HT5501Third Party Advisory
- http://www.php.net/ChangeLog-5.phpVendor Advisory
- https://bugs.php.net/bug.php?id=61065Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=823594Issue Tracking, Third Party Advisory
- http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.htmlExploit, Third Party Advisory
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.htmlMailing List, Third Party Advisory
- http://openwall.com/lists/oss-security/2012/05/22/10Mailing List, Third Party Advisory
- http://support.apple.com/kb/HT5501Third Party Advisory
- http://www.php.net/ChangeLog-5.phpVendor Advisory
- https://bugs.php.net/bug.php?id=61065Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=823594Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-2386?
How severe is CVE-2012-2386?
How do I fix CVE-2012-2386?
Are you affected by CVE-2012-2386?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
