Stack-based buffer overflow in the phar_fix_filepath function in ext/phar/phar.c in PHP before 5.4.43, 5.5.x before 5.5.27, and 5.6.x before 5.6.11 allows remote attackers to cause a denial of service or possibly have unspecified other impact via a large length value, as demonstrated by mishandling of an e-mail attachment by the imap PHP extension.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/75970 | vdb entry |
http://www.debian.org/security/2015/dsa-3344 | vendor advisory |
https://bugs.php.net/bug.php?id=69923 | exploit |
http://www.php.net/ChangeLog-5.php | vendor advisory |
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6dedeb40db13971af45276f80b5375030aa7e76f | |
http://openwall.com/lists/oss-security/2015/07/18/1 | mailing list |