CVE-2015-4022

NameCVE-2015-4022
DescriptionInteger 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-307-1, DSA-3280-1

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourcesqueeze5.3.3.1-7+squeeze27DLA-307-1
php5sourcewheezy5.4.41-0+deb7u1DSA-3280-1
php5sourcejessie5.6.9+dfsg-0+deb8u1DSA-3280-1
php5source(unstable)5.6.9+dfsg-1

Notes

https://bugs.php.net/bug.php?id=69545
https://www.openwall.com/lists/oss-security/2015/05/18/2
Fixed upstream in 5.4.41, 5.5.25, 5.6.9

Search for package or bug name: Reporting problems