CVE-2012-2386
publishedphp: Integer overflow leading to heap-buffer overflow in the Phar extension
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | squeeze | php5 | Advisory build | 5.3.3-7+squeeze13 | DSA-2492-1 |
| Oracle Linux | 6 | phpi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Red Hat Enterprise Linux | RHEL-5 | php53i386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Oracle Linux | 6 | phpx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-bcmathi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-bcmathx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-clii686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | php-clix86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-commoni686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-commonx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-dbai686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-dbax86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-develi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-develx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-embeddedi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-embeddedx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-enchanti686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-enchantx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-gdi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-gdx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-imapi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-imapx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-intli686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-intlx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-ldapi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-ldapx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-mbstringi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-mbstringx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-mysqli686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-mysqlx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-odbci686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-odbcx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-pdoi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-pdox86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-pgsqli686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-pgsqlx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-processi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-processx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-pspelli686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-pspellx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-recodei686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-recodex86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-snmpi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-snmpx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-soapi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-soapx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-tidyi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-tidyx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-xmli686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-xmlx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-xmlrpci686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-xmlrpcx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-ztsi686 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Oracle Linux | 6 | php-ztsx86_64 | Advisory build | 0:5.3.3-14.el6_3 | ELSA-2012-1046 |
| Red Hat Enterprise Linux | RHEL-5 | php53ia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53ppc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53s390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53src | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53x86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmathi386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmathia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmathppc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmaths390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-bcmathx86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-clii386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-cliia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-clippc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-clis390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-clix86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commoni386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commonia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commonppc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commons390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-commonx86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbai386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbaia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbappc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbas390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-dbax86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfoi386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfoia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfoppc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfos390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-debuginfox86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-develi386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-develia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-develppc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-devels390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-develx86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gdi386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gdia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gdppc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gds390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-gdx86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imapi386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imapia64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imapppc | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imaps390x | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-imapx86_64 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
| Red Hat Enterprise Linux | RHEL-5 | php53-intli386 | Advisory build | 5.3.3-13.el5_8 | RHSA-2012:1047 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
9- http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854
- APPLE-SA-2012-09-19-2 http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- SUSE-SU-2012:0840 http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html
- [oss-security] 20120522 Re: CVE request: PHP Phar - arbitrary code execution http://openwall.com/lists/oss-security/2012/05/22/10
- http://support.apple.com/kb/HT5501
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=61065
- https://bugzilla.redhat.com/show_bug.cgi?id=823594
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 83f5c45ac7c7c5ca77a845f71ef9e122a70a2b714d884eefe9073c6a23d507fb
- Ingested
- 23 Sep 2026, 07:39:16 UTC
- Source record
- Official CVE record