CVE-2015-4643
Reported by redhat · Published May 16, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php | php | 5.6.10, 5.5.26, 5.4.42 |
| php5 | Ubuntu:14.04:LTS | 5.5.9+dfsg-1ubuntu4.11 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Jun 18, 2015 PoC Published
- May 16, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 5, 2026 Security Advisory (4 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Oct 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-4643
vulnetix vdb fixes CVE-2015-4643
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-4643/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2015:1187 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 1032709 vdb-entryx_refsource_SECTRACK
- RHSA-2015:1186 vendor-advisoryx_refsource_REDHAT
- DSA-3344 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- [oss-security] 20150618 Re: PHP 5.6.10 / 5.5.26 / 5.4.42 CVE request mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- 75291 vdb-entryx_refsource_BID
- RHSA-2015:1135 vendor-advisoryx_refsource_REDHAT
- GLSA-201606-10 vendor-advisoryx_refsource_GENTOO
- RHSA-2015:1218 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM