CVE-2015-4643
CRITICAL
9.8
CVSS 3.0
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.
Affected products and versions
- PHP — Before 5.4.42
- PHP — From 5.5.0 (including) to 5.5.26 (excluding)
- PHP — From 5.6.0 (including) to 5.6.10 (excluding)
References
- git.php.net http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0765623d6991b62ffcd93ddb6be8a5203a2fa7e2
- openwall.com http://openwall.com/lists/oss-security/2015/06/18/6 Mailing List, Patch, Third Party Advisory
- php.net http://php.net/ChangeLog-5.php Release Notes, Vendor Advisory
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1135.html Third Party Advisory
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1186.html Third Party Advisory
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1187.html Third Party Advisory
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1218.html Third Party Advisory
- www.debian.org http://www.debian.org/security/2015/dsa-3344 Third Party Advisory
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html Third Party Advisory
- www.securityfocus.com http://www.securityfocus.com/bid/75291 Third Party Advisory, VDB Entry
- www.securitytracker.com http://www.securitytracker.com/id/1032709 Third Party Advisory, VDB Entry
- bugs.php.net https://bugs.php.net/bug.php?id=69545 Exploit, Issue Tracking, Vendor Advisory
- security.gentoo.org https://security.gentoo.org/glsa/201606-10 Third Party Advisory
- nvd.nist.gov Official NVD record