CVE-2015-4022Integer Overflow or Wraparound in Apple MAC OS X

Severity
7.5HIGHNVD
EPSS
20.6%
top 4.41%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 9
Latest updateMay 14

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.

CVSS vector

AV:N/AC:L/C:P/I:P/A:PExploitability: 10.0 | Impact: 6.4

Affected Packages7 packages

Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.11
NVDphp/php5.4.40+31
NVDapple/mac_os_x10.10.4

Also affects: Enterprise Linux 6.0, 7.0, 7.1

Patches

🔴Vulnerability Details

4
GHSA
GHSA-vgxm-5fpx-8gm6: Integer overflow in the ftp_genlist function in ext/ftp/ftp2022-05-14
OSV
php5 vulnerabilities2015-07-06
CVEList
CVE-2015-4022: Integer overflow in the ftp_genlist function in ext/ftp/ftp2015-06-09
OSV
CVE-2015-4022: Integer overflow in the ftp_genlist function in ext/ftp/ftp2015-06-09

📋Vendor Advisories

4
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
Red Hat
php: integer overflow leading to heap overflow when reading FTP file listing2015-05-14
Apple
CVE-2015-4022: OS X Yosemite v10.10.5 and Security Update 2015-006

💬Community

2
Bugzilla
CVE-2015-4643 php: integer overflow in ftp_genlist() resulting in heap overflow (improved fix for CVE-2015-4022)2015-06-23
Bugzilla
CVE-2015-4022 php: integer overflow leading to heap overflow when reading FTP file listing2015-05-20
CVE-2015-4022 — Integer Overflow or Wraparound in Apple | cvebase