Back
CVE-2015-4643
CRITICAL
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.
Published: May 16, 2016
Modified: Jun 17, 2026
CWE-119
CVSS Metrics
CVSSv3
Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products (27)
| Vendor | Product | Version |
|---|---|---|
| php | php | * < 5.4.42 |
| php | php | * ≥ 5.5.0 < 5.5.26 |
| php | php | * ≥ 5.6.0 < 5.6.10 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| redhat | enterprise_linux_desktop | 6.0 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_server | 6.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_server_aus | 6.6 |
| redhat | enterprise_linux_server_aus | 7.3 |
| redhat | enterprise_linux_server_aus | 7.4 |
| redhat | enterprise_linux_server_aus | 7.6 |
| redhat | enterprise_linux_server_eus | 6.6 |
| redhat | enterprise_linux_server_eus | 7.1 |
| redhat | enterprise_linux_server_eus | 7.2 |
| redhat | enterprise_linux_server_eus | 7.3 |
| redhat | enterprise_linux_server_eus | 7.4 |
| redhat | enterprise_linux_server_eus | 7.5 |
| redhat | enterprise_linux_server_eus | 7.6 |
…and 7 more
GitHub Security Advisory GHSA-phcc-83hq-g329
Integer overflow in the ftp_genlist function in ext/ftp/ftp.c in PHP before 5.4.42, 5.5.x before...
References (26)
- 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
- 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
Risk Scores
CVSS Score
9.8 / 10
EPSS Score
16.95%
Top 3% most likely to be exploited
Threat Score
44.3 / 100
Data Sources
NVD
EPSS
GitHub