CVE-2016-4342: PHP - Denial of Service & Remote Code Execution
- Cve: CVE-2016-4342
- Name: PHP - Denial of Service & Remote Code Execution
- Description: ext/phar/phar_object.c in PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3 mishandles zero-length uncompressed data, which allows remote attackers to cause a denial of service (heap memory corruption) or possibly have unspecified other impact via a crafted (1) TAR, (2) ZIP, or (3) PHAR archive.
- Impact: Attackers can cause heap memory corruption leading to denial of service or potential arbitrary code execution.
- Remediation: Update PHP to version 5.5.32, 5.6.18, or 7.0.3 or later.
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.05345
- Epss percentile: 0.92831
- Assignee: [email protected]
- Published at: 2016-05-22T01:59:16Z
- Age in days: 3838
- Modified at: 2026-06-17T00:47:22Z
- Public exploits total: 1
- References total: 11
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-4342
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2016/04/28/2 | nvd | 2016-05-22 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| php:php | = 7.0.2, = 7.0.1, = 7.0.0, = 5.6.17, = 5.6.16, = 5.6.15, = 5.6.14, = 5.6.13, = 5.6.12, = 5.6.11, = 5.6.10, = 5.6.9, = 5.6.8, = 5.6.7, = 5.6.6, = 5.6.5, = 5.6.4, = 5.6.3, = 5.6.2, = 5.6.1, = 5.6.0, <= 5.5.31 | no | nvd | /v1/products/php/php |
| opensuse:leap | = 42.1 | no | nvd | /v1/products/opensuse/leap |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2016-05-22
- Remote: yes
- Exposed hosts: 6175026
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports