CVE Database›Document archive›CVE-2015-4643

CVE-2015-4643

php: integer overflow in ftp_genlist() resulting in heap overflow (improved fix for CVE-2015-4022)

Loading…

Severity

Moderate

Red Hat Product Security

5.1

CVSS 2.0

Review impact separately from score.

Published · June 11, 2015

Updated · June 28, 2026

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 score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 2.0 · 5.1
AV:N/AC:H/Au:N/C:P/I:P/A:P

CWE-190 · Integer Overflow or Wraparound