Unscored severity · published Jun 9, 2015
CVE-2015-4021
The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is…
–
CVSS
20.5%
EPSS
No
On KEV
Description
The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is different from the \0 character, which allows remote attackers to cause a denial of service (integer underflow and memory corruption) via a crafted entry in a tar archive.
Exploitation
Is it being used?
Exploit prediction (EPSS)20.5% · higher than 97% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.4.40; 5.4.39; 5.5.0; 5.5.0; 5.5.0; 5.5.0; +34 more · source: NVD
EL
Enterprise Linux · Redhat
6.0; 7.0 · source: NVD
EL
Enterprise Linux Desktop · Redhat
7.0 · source: NVD
EL
Enterprise Linux Hpc Node · Redhat
7.0 · source: NVD
EL
Enterprise Linux Hpc Node Eus · Redhat
7.1 · source: NVD
EL
Enterprise Linux Server · Redhat
7.0 · source: NVD
EL
Enterprise Linux Server Eus · Redhat
7.1 · source: NVD
EL
Enterprise Linux Workstation · Redhat
7.0 · source: NVD
MO
Mac OS X · Apple
through 10.10.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-4021
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-4021
lists.apple.com
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-updates/2015-06/msg00002.html
Patch
http://php.net/ChangeLog-5.php
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
