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…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 42.5%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 2.0
- 7.5 HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 42.48% probability · 99th percentile
- Public exploits
- 1 in Exploit-DB · first 22 April 2011
- CISA KEV
- Not listed
- Weakness
- CWE-189
- Affected
- php/php
- Source
- secalert@redhat.com
EPSS 42.5% since 26 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.htmlExploit, 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.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://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854
- 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.