Back
CVE-2015-4022
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…
- 7.5HighCVSS base score
- 20.1%Exploitation in 30 daysEPSS · top 2.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By mitre
- 22 days later
· 22 days later
Published
- 9 years later
· 9 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 20.1% · top 2.5% of all CVEs (9 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
References
18
- RHSA-2015:1187 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugs.php.net/bug.php?id=69545 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2015:1186 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2015:1219 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2015:0993 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-3280 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- APPLE-SA-2015-08-13-2 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- 1032433 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHSA-2015:1135 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 74902 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://support.apple.com/kb/HT205031 (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2015-8383 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2015-8281 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2015-8370 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- GLSA-201606-10 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- RHSA-2015:1218 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2015-4050 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2015-4022)Record last updated .