{"id":"CVE-2015-4643","state":"PUBLISHED","title":"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","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.","publishedAt":"2016-05-16T10:00:00.000Z","updatedAt":"2024-08-06T06:18:12.092Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://rhn.redhat.com/errata/RHSA-2015-1187.html","https://bugs.php.net/bug.php?id=69545","http://www.securitytracker.com/id/1032709","http://rhn.redhat.com/errata/RHSA-2015-1186.html","http://www.debian.org/security/2015/dsa-3344","http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","http://openwall.com/lists/oss-security/2015/06/18/6","http://php.net/ChangeLog-5.php","http://www.securityfocus.com/bid/75291","http://rhn.redhat.com/errata/RHSA-2015-1135.html","https://security.gentoo.org/glsa/201606-10","http://rhn.redhat.com/errata/RHSA-2015-1218.html","http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0765623d6991b62ffcd93ddb6be8a5203a2fa7e2"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:07.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/4xxx/CVE-2015-4643.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-4643","state":"PUBLISHED","datePublished":"2016-05-16T10:00:00.000Z","dateUpdated":"2024-08-06T06:18:12.092Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2015-06-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2015-1187.html","name":"RHSA-2015:1187","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.php.net/bug.php?id=69545","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1032709","name":"1032709","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1186.html","name":"RHSA-2015:1186","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2015/dsa-3344","name":"DSA-3344","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2015/06/18/6","name":"[oss-security] 20150618 Re: PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/75291","name":"75291","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","name":"RHSA-2015:1135","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/201606-10","name":"GLSA-201606-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html","name":"RHSA-2015:1218","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0765623d6991b62ffcd93ddb6be8a5203a2fa7e2","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2015-06-11T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2015-4643","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2015:1187","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1187.html"},{"name":"https://bugs.php.net/bug.php?id=69545","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=69545"},{"name":"1032709","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1032709"},{"name":"RHSA-2015:1186","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1186.html"},{"name":"DSA-3344","refsource":"DEBIAN","url":"http://www.debian.org/security/2015/dsa-3344"},{"name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html"},{"name":"[oss-security] 20150618 Re: PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2015/06/18/6"},{"name":"http://php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-5.php"},{"name":"75291","refsource":"BID","url":"http://www.securityfocus.com/bid/75291"},{"name":"RHSA-2015:1135","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html"},{"name":"GLSA-201606-10","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201606-10"},{"name":"RHSA-2015:1218","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html"},{"name":"http://git.php.net/?p=php-src.git;a=commit;h=0765623d6991b62ffcd93ddb6be8a5203a2fa7e2","refsource":"CONFIRM","url":"http://git.php.net/?p=php-src.git;a=commit;h=0765623d6991b62ffcd93ddb6be8a5203a2fa7e2"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://rhn.redhat.com/errata/RHSA-2015-1187.html","name":"RHSA-2015:1187","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=69545","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securitytracker.com/id/1032709","name":"1032709","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1186.html","name":"RHSA-2015:1186","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.debian.org/security/2015/dsa-3344","name":"DSA-3344","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2015/06/18/6","name":"[oss-security] 20150618 Re: PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/75291","name":"75291","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","name":"RHSA-2015:1135","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201606-10","name":"GLSA-201606-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html","name":"RHSA-2015:1218","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0765623d6991b62ffcd93ddb6be8a5203a2fa7e2","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T06:18:12.092Z"}}]}}}