{"id":"CVE-2015-4022","published":"2015-06-09T18:00:00Z","modified":"2024-08-06T06:04:02Z","title":"Integer overflow in the ftp_genlist function in ext/ftp/ftp.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x…","vendor":null,"product":null,"tier":"tail","description":{"text":"Integer overflow in the ftp_genlist function in ext/ftp/ftp.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 allows remote FTP servers to execute arbitrary code via a long reply to a LIST command, leading to a heap-based buffer overflow.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.20075,"percentile":0.97511,"provenance":"source"},"cwes":[],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2015-1187.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.php.net/bug.php?id=69545","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1186.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1219.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-06/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2015/dsa-3280","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.securitytracker.com/id/1032433","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/74902","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://support.apple.com/kb/HT205031","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://security.gentoo.org/glsa/201606-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":19.5}]},"summary":{"text":"The flaw is an integer overflow in the ftp_genlist function in ext/ftp/ftp.c, a component of PHP's FTP extension, in PHP releases before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9. An attacker operating a malicious remote FTP server can exploit it by sending an overly long reply to a LIST command, which leads to a heap-based buffer overflow and allows arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:41:56Z"},"euvd":{"id":"EUVD-2015-4050","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2015-4022-family-cve-2015-4022","children":[{"from":"CVE-2015-4022","to":"CVE-2015-4643","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-4022.","from":"CVE.org","in":"CVE-2015-4643"}]}]}}