CVE Vulnerabilities

CVE-2012-2386

Published: Jul 07, 2012 | Modified: Feb 13, 2023
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
6.8 MODERATE
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM

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 Software

Name Vendor Start Version End Version
Php Php * 5.3.13 (including)
Php Php 5.4.0 (including) 5.4.4 (excluding)
Red Hat Enterprise Linux 5 RedHat php53-0:5.3.3-13.el5_8 *
Red Hat Enterprise Linux 6 RedHat php-0:5.3.3-14.el6_3 *
Php5 Ubuntu lucid *
Php5 Ubuntu natty *
Php5 Ubuntu oneiric *
Php5 Ubuntu precise *
Php5 Ubuntu upstream *

References