Integer overflow in PHP FTP function allows arbitrary code execution
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 20.075%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≤ 5.4.40Show full version range for php5.4.395.5.05.5.15.5.105.5.115.5.125.5.135.5.145.5.185.5.195.5.25.5.205.5.215.5.225.5.235.5.245.5.35.5.45.5.55.5.65.5.75.5.85.5.95.6.05.6.25.6.35.6.45.6.55.6.65.6.75.6.8 |
| Vendor:Apple | mac os x | Affected versions: ≤ 10.10.4 |
| Vendor:redhat | enterprise linux | Affected versions:6.0Show full version range for enterprise linux7.0 |
| Vendor:redhat | enterprise linux desktop | Affected versions: 7.0 |
| Vendor:redhat | enterprise linux hpc node | Affected versions: 7.0 |
| Vendor:redhat | enterprise linux hpc node eus | Affected versions: 7.1 |
| Vendor:redhat | enterprise linux server | Affected versions: 7.0 |
| Vendor:redhat | enterprise linux server eus | Affected versions: 7.1 |
| Vendor:redhat | enterprise linux workstation | Affected versions: 7.0 |
| Vendor:Fedora | phpEnvironments (1)
| Affected versions: < 5.6.9-1.fc21 |
1–10 of 514 · Page 1 of 52
CVSS scores and metrics6
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Poraclelinux · Wazuh CTI (adp)5.1 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:P/I:P/A:Predhat · Wazuh CTI (adp)5.1 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:P/I:P/A:Palas · Wazuh CTI (adp)5.1 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:P/I:P/A:PRed Hat · Red Hat VEX (adp)5.1 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories38
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- FIRST EPSS
- security.gentoo.org
- securityfocus.com
- lists.apple.com
- securitytracker.com
- debian.org
- oracle.com
- php.net
- rhn.redhat.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- rhn.redhat.com
- bugs.php.net
- rhn.redhat.com
- rhn.redhat.com
- lists.opensuse.org
- rhn.redhat.com
- support.apple.com
- lists.fedoraproject.org
- access.redhat.com
- SUSE CVE-2015-4022
- SUSE-SU-2015:1018-1
- SUSE-SU-2015:1253-1
- SUSE-SU-2015:1253-2
- SUSE-SU-2016:1638-1
- ubuntu.com
- ubuntu.com
- access.redhat.com
- access.redhat.com
- Mitre CVE-2015-4022
- cve.mitre.org
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- linux.oracle.com
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences