← All CVEs

CVE-2015-4021

medium · 5

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.

5
CVSS
21.4%
EPSS (exploit prob.)
97th
EPSS percentile
2015-06-09
Published

AV:N/AC:L/Au:N/C:N/I:N/A:P

Weaknesses

CWE-189

Affected products

VendorProductAffected versions
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_hpc_node7.0
redhatenterprise_linux_hpc_node_eus7.1
redhatenterprise_linux_server7.0
redhatenterprise_linux_server_eus7.1
redhatenterprise_linux_workstation7.0
applemac_os_x<= 10.10.4
redhatenterprise_linux6.0
redhatenterprise_linux7.0
phpphp<= 5.4.40
phpphp5.4.39
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.1
phpphp5.5.2
phpphp5.5.3
phpphp5.5.4
phpphp5.5.5
phpphp5.5.6
phpphp5.5.7
phpphp5.5.8
phpphp5.5.9
phpphp5.5.10
phpphp5.5.11
phpphp5.5.12
phpphp5.5.13
phpphp5.5.14
phpphp5.5.18
phpphp5.5.19

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2015-4021