CVE-2015-4643Improper Restriction of Operations within the Bounds of a Memory Buffer in PHP

Severity
9.8CRITICALNVD
CNA7.5OSV7.5
EPSS
8.7%
top 7.53%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 16
Latest updateMay 13

Description

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages6 packages

NVDphp/php5.5.05.5.26+2
Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.11
NVDoracle/linux6, 7+1

Also affects: Debian Linux 7.0, 8.0, Enterprise Linux 6.6, 7.3, 7.4, 7.6, 7.1, 7.2, 7.5

Patches

🔴Vulnerability Details

4
GHSA
GHSA-phcc-83hq-g329: Integer overflow in the ftp_genlist function in ext/ftp/ftp2022-05-13
CVEList
CVE-2015-4643: Integer overflow in the ftp_genlist function in ext/ftp/ftp2016-05-16
OSV
php5 vulnerabilities2015-07-06
OSV
CVE-2015-4643: Integer overflow in the ftp_genlist function in ext/ftp/ftp2015-06-18

📋Vendor Advisories

2
Ubuntu
PHP vulnerabilities2015-07-06
Red Hat
php: integer overflow in ftp_genlist() resulting in heap overflow (improved fix for CVE-2015-4022)2015-06-11

💬Community

2
Bugzilla
CVE-2015-4644 CVE-2015-4643 php: various flaws [fedora-all]2015-06-23
Bugzilla
CVE-2015-4643 php: integer overflow in ftp_genlist() resulting in heap overflow (improved fix for CVE-2015-4022)2015-06-23
CVE-2015-4643 — PHP vulnerability | cvebase