CVEvulnerability
CVE-2012-2386
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2012-07-07
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-189
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.
Affected configurations
• php php (<= 5.3.13)
• php php (>= 5.4.0 < 5.4.4)
Related
Weakness · not in database (1)
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 git.php.net
- 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
- 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 git.php.net
- 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