CVE-2015-4643
CRITICAL 9.8CVSS 3.0Integer 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.
- Published
- 16 May 2016
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
< 5.4.42 | 5.4.42 |
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 5.5.0, < 5.5.26 | 5.5.26 |
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 5.6.0, < 5.6.10 | 5.6.10 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:6.6:*:*:*:*:*:*:* |
= 6.6 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* |
= 7.3 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:6.6:*:*:*:*:*:*:* |
= 6.6 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.1:*:*:*:*:*:*:* |
= 7.1 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:* |
= 7.3 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* |
= 7.5 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:6.6:*:*:*:*:*:*:* |
= 6.6 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* |
= 7.3 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | oracle | linuxcpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:* |
= 6 | |
| NVD | oracle | linuxcpe:2.3:o:oracle:linux:7:0:*:*:*:*:*:* |
= 7 |
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0765623d6991b62ffcd93ddb6be8a5203a2fa7e2
- 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
- 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
- http://www.securitytracker.com/id/1032709 · Third Party Advisory, VDB Entry
- https://bugs.php.net/bug.php?id=69545 · Exploit, Issue Tracking, Vendor Advisory
- https://security.gentoo.org/glsa/201606-10 · Third Party Advisory
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 16 May 2016)