CVE-2015-4021

Publication date 9 June 2015

Last updated 24 July 2024


Ubuntu priority

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.

Status

Package Ubuntu Release Status
php5 15.04 vivid
Fixed 5.6.4+dfsg-4ubuntu6.2
14.10 utopic
Fixed 5.5.12+dfsg-2ubuntu4.6
14.04 LTS trusty
Fixed 5.5.9+dfsg-1ubuntu4.11
12.04 LTS precise
Fixed 5.3.10-1ubuntu3.19

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
php5