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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-2380Multiple cross-site request forgery (CSRF) vulnerabilities i…
- CVE-2012-2381Multiple cross-site scripting (XSS) vulnerabilities in Apach…
- CVE-2012-2382Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2012-2383Integer overflow in the i915_gem_execbuffer2 function in dri…
- CVE-2012-2384Integer overflow in the i915_gem_do_execbuffer function in d…
- CVE-2012-2385The terminal dispatcher in mosh before 1.2.1 allows remote a…
- CVE-2012-2387devotee 0.1 patch 2 uses a 32-bit seed for generating 48-bit…
- CVE-2012-2388The GMP Plugin in strongSwan 4.2.0 through 4.6.3 allows remo…
- CVE-2012-2389hostapd 0.7.3, and possibly other versions before 1.0, uses …
- CVE-2012-2390Memory leak in mm/hugetlb.c in the Linux kernel before 3.4.2…
- CVE-2012-2391Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2012-2392Wireshark 1.4.x before 1.4.13 and 1.6.x before 1.6.8 allows …
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
