CVE-2016-3142: Buffer Overflow

Published Mar 31, 2016
·
Updated

The pharparsezipfile function in zip.c in the PHAR extension in PHP before 5.5.33 and 5.6.x before 5.6.19 allows remote attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and application crash) by placing a PK\x05\x06 signature at an invalid location.

Affected Software

27 affected componentsFixes available
debian/php5
ubuntu/php5<5.3.10-1ubuntu3.22
5.3.10-1ubuntu3.22
ubuntu/php5<5.5.9+dfsg-1ubuntu4.16
5.5.9+dfsg-1ubuntu4.16
ubuntu/php5<5.6.19+dfsg-1
5.6.19+dfsg-1
ubuntu/php5<5.6.11+dfsg-1ubuntu3.2
5.6.11+dfsg-1ubuntu3.2
ubuntu/php7.0<7.0.4
7.0.4
PHP PHP<=5.5.32
PHP PHP=5.6.0
PHP PHP=5.6.1
PHP PHP=5.6.2
PHP PHP=5.6.3
PHP PHP=5.6.4
PHP PHP=5.6.5
PHP PHP=5.6.6
PHP PHP=5.6.7
PHP PHP=5.6.8
PHP PHP=5.6.9
PHP PHP=5.6.10
PHP PHP=5.6.11
PHP PHP=5.6.12
PHP PHP=5.6.13
PHP PHP=5.6.14
PHP PHP=5.6.15
PHP PHP=5.6.16
PHP PHP=5.6.17
PHP PHP=5.6.18
Apple iOS and macOS<=10.11.4

Event History

Mar 31, 2016
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:17 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2016-3142?

CVE-2016-3142 is a vulnerability in the PHAR extension in PHP before 5.5.33 and 5.6.x before 5.6.19.

2

How severe is CVE-2016-3142?

CVE-2016-3142 has a severity rating of 8.2 (high).

3

How can I exploit CVE-2016-3142?

CVE-2016-3142 can be exploited by placing a PK\x05\x06 signature at an invalid index to obtain sensitive information or cause a denial of service.

4

How can I fix CVE-2016-3142?

To fix CVE-2016-3142, update the PHP version to 5.5.33 or 5.6.19 or higher.

5

Where can I find more information about CVE-2016-3142?

You can find more information about CVE-2016-3142 at the following references: [link1], [link2], [link3].

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