USN-2984-1: PHP vulnerabilities

Published May 24, 2016
·
Updated

It was discovered that the PHP Fileinfo component incorrectly handled certain magic files. An attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2015-8865) Hans Jerry Illikainen discovered that the PHP Zip extension incorrectly handled certain malformed Zip archives. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-3078) It was discovered that PHP incorrectly handled invalid indexes in the SplDoublyLinkedList class. An attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-3132) It was discovered that the PHP rawurlencode() function incorrectly handled large strings. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-4070) It was discovered that the PHP phpsnmperror() function incorrectly handled string formatting. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-4071) It was discovered that the PHP phar extension incorrectly handled certain filenames in archives. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-4072) It was discovered that the PHP mbstrcut() function incorrectly handled string formatting. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-4073) It was discovered that the PHP phar extension incorrectly handled certain archive files. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and Ubuntu 15.10. (CVE-2016-4342, CVE-2016-4343) It was discovered that the PHP bcpowmod() function incorrectly handled memory. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2016-4537, CVE-2016-4538) It was discovered that the PHP XML parser incorrectly handled certain malformed XML data. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2016-4539) It was discovered that certain PHP grapheme functions incorrectly handled negative offsets. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2016-4540, CVE-2016-4541) It was discovered that PHP incorrectly handled certain malformed EXIF tags. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2016-4542, CVE-2016-4543, CVE-2016-4544)

Affected Software

32 affected componentsFixes available
All of the following
ubuntu/libapache2-mod-php7.0<7.0.4-7ubuntu2.1
7.0.4-7ubuntu2.1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/php7.0-cgi<7.0.4-7ubuntu2.1
7.0.4-7ubuntu2.1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/php7.0-cli<7.0.4-7ubuntu2.1
7.0.4-7ubuntu2.1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/php7.0-fpm<7.0.4-7ubuntu2.1
7.0.4-7ubuntu2.1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libapache2-mod-php5<5.6.11+dfsg-1ubuntu3.4
5.6.11+dfsg-1ubuntu3.4
Ubuntu Ubuntu=15.10
All of the following
ubuntu/php5-cgi<5.6.11+dfsg-1ubuntu3.4
5.6.11+dfsg-1ubuntu3.4
Ubuntu Ubuntu=15.10
All of the following
ubuntu/php5-cli<5.6.11+dfsg-1ubuntu3.4
5.6.11+dfsg-1ubuntu3.4
Ubuntu Ubuntu=15.10
All of the following
ubuntu/php5-fpm<5.6.11+dfsg-1ubuntu3.4
5.6.11+dfsg-1ubuntu3.4
Ubuntu Ubuntu=15.10
All of the following
ubuntu/libapache2-mod-php5<5.5.9+dfsg-1ubuntu4.17
5.5.9+dfsg-1ubuntu4.17
Ubuntu Ubuntu=14.04
All of the following
ubuntu/php5-cgi<5.5.9+dfsg-1ubuntu4.17
5.5.9+dfsg-1ubuntu4.17
Ubuntu Ubuntu=14.04
All of the following
ubuntu/php5-cli<5.5.9+dfsg-1ubuntu4.17
5.5.9+dfsg-1ubuntu4.17
Ubuntu Ubuntu=14.04
All of the following
ubuntu/php5-fpm<5.5.9+dfsg-1ubuntu4.17
5.5.9+dfsg-1ubuntu4.17
Ubuntu Ubuntu=14.04
All of the following
ubuntu/libapache2-mod-php5<5.3.10-1ubuntu3.23
5.3.10-1ubuntu3.23
Ubuntu Ubuntu=12.04
All of the following
ubuntu/php5-cgi<5.3.10-1ubuntu3.23
5.3.10-1ubuntu3.23
Ubuntu Ubuntu=12.04
All of the following
ubuntu/php5-cli<5.3.10-1ubuntu3.23
5.3.10-1ubuntu3.23
Ubuntu Ubuntu=12.04
All of the following
ubuntu/php5-fpm<5.3.10-1ubuntu3.23
5.3.10-1ubuntu3.23
Ubuntu Ubuntu=12.04

Event History

May 24, 2016
Advisory Published
via Ubuntu·12:00 AM

Frequently Asked Questions

1

What is the vulnerability ID for this advisory?

USN-2984-1

2

What is the affected software?

The affected software includes libapache2-mod-php7.0, php7.0-cgi, php7.0-cli, php7.0-fpm, libapache2-mod-php5, php5-cgi, php5-cli, php5-fpm.

3

What is the severity of the PHP vulnerabilities?

The severity of the PHP vulnerabilities is not specified.

4

How do I fix the PHP vulnerabilities?

To fix the PHP vulnerabilities, update to version 7.0.4-7ubuntu2.1 for the affected software packages.

5

Where can I find more information about the PHP vulnerabilities?

More information about the PHP vulnerabilities can be found in the references provided: https://ubuntu.com/security/CVE-2015-8865, https://ubuntu.com/security/CVE-2016-3078, https://ubuntu.com/security/CVE-2016-3132

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203