CVE-2015-4643: PHP - Heap Buffer Overflow
- Cve: CVE-2015-4643
- Name: PHP - Heap Buffer Overflow
- Description: Integer overflow in the ftp_genlist function in ext/ftp/ftp.c in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 allows remote FTP servers to execute arbitrary code via a long reply to a LIST command, leading to a heap-based buffer overflow. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-4022.
- Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to PHP 5.4.42, 5.5.26, 5.6.10 or later versions.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.1541
- Epss percentile: 0.96869
- Assignee: [email protected]
- Published at: 2016-05-16T10:59:15Z
- Age in days: 3844
- Modified at: 2026-06-17T00:27:39Z
- Patch available: yes
- Public exploits total: 1
- References total: 13
- Products total: 9
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-4643
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Hackerone
- Reports: 1
- Rank: 5193
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.php.net/bug.php?id=69545 | nvd | 2016-05-16 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://openwall.com/lists/oss-security/2015/06/18/6 | Mailing List, Patch, Third Party Advisory |
| http://php.net/ChangeLog-5.php | Release Notes, Vendor Advisory |
| https://bugs.php.net/bug.php?id=69545 | Exploit, Issue Tracking, Vendor Advisory |
| http://rhn.redhat.com/errata/RHSA-2015-1135.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2015-1186.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2015-1187.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2015-1218.html | Third Party Advisory |
| http://www.debian.org/security/2015/dsa-3344 | Third Party Advisory |
| http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html | Third Party Advisory |
| http://www.securityfocus.com/bid/75291 | Third Party Advisory, VDB Entry |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| php:php | >= 5.6.0, < 5.6.10; >= 5.5.0, < 5.5.26; < 5.4.42 | /v1/products/php/php |
| debian:debian_linux | = 8.0, = 7.0 | /v1/products/debian/debian_linux |
| redhat:enterprise_linux_desktop | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux_desktop |
| redhat:enterprise_linux_server | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux_server |
| redhat:enterprise_linux_workstation | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux_workstation |
| redhat:enterprise_linux_server_aus | = 7.6, = 7.4, = 7.3, = 6.6 | /v1/products/redhat/enterprise_linux_server_aus |
| redhat:enterprise_linux_server_tus | = 7.6, = 7.3, = 6.6 | /v1/products/redhat/enterprise_linux_server_tus |
| redhat:enterprise_linux_server_eus | = 7.6, = 7.5, = 7.4, = 7.3, = 7.2, = 7.1, = 6.6 | /v1/products/redhat/enterprise_linux_server_eus |
| oracle:linux | = 7 0, = 6 | /v1/products/oracle/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2016-05-16
- Remote: yes
- Hackerone reports: 1
- 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