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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2015-06-09T18:00:00

Updated: 2024-08-06T06:04:02.980Z

Reserved: 2015-05-18T00:00:00

Link: CVE-2015-4021

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2015-06-09T18:59:04.567

Modified: 2024-11-21T02:30:17.080

Link: CVE-2015-4021

cve-icon Redhat

Severity : Moderate

Publid Date: 2015-05-14T00:00:00Z

Links: CVE-2015-4021 - Bugzilla