cve.bz

CVE-2015-4643

9.8 criticalExploit referenceEPSS 15%Fix available

Critical (9.8). EPSS 15% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
15% (unchanged from 15% a week ago; 15% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-4643 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-4643?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-4643?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-4643 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:phpbefore 5.4.42
php:phpfrom 5.5.0 before 5.5.26
php:phpfrom 5.6.0 before 5.6.10
debian:debian_linux7.0
debian:debian_linux8.0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus6.6
redhat:enterprise_linux_server_aus7.3
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_eus6.6
redhat:enterprise_linux_server_eus7.1
redhat:enterprise_linux_server_eus7.2
redhat:enterprise_linux_server_eus7.3
redhat:enterprise_linux_server_eus7.4
redhat:enterprise_linux_server_eus7.5
redhat:enterprise_linux_server_eus7.6
redhat:enterprise_linux_server_tus6.6
redhat:enterprise_linux_server_tus7.3
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0
oracle:linux6
oracle:linux7:0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0php55.3.3.1-7+squeeze27DLA-307-1
Debian7php55.4.44-0+deb7u1DSA-3344-1
Debian8php55.6.12+dfsg-0+deb8u1DSA-3344-1
Ubuntu14.04:LTSphp55.5.9+dfsg-1ubuntu4.11UBUNTU-CVE-2015-4643 USN-2658-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morephp, php-gd, php-cli and 25 more0:5.3.3-46.el6_6RHSA-2015:1218
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationphp, php-gd, php-cli and 23 more0:5.4.16-36.el7_1RHSA-2015:1135
Red Hatenterprise_linux:7::serverphp, php-gd, php-cli and 23 more0:5.4.16-36.ael7b_1RHSA-2015:1135
Red Hatrhel_software_collections:2::el6php54-php, php54-php-gd, php54-php-cli and 23 more0:5.4.40-3.el6RHSA-2015:1219
Red Hatrhel_software_collections:2::el6php55-php, php55-php-gd, php55-php-cli and 25 more0:5.5.21-4.el6RHSA-2015:1186
Red Hatrhel_software_collections:2::el6rh-php56-php, rh-php56-php-gd, rh-php56-php-cli and 27 more0:5.6.5-7.el6RHSA-2015:1187
Red Hatrhel_software_collections:2::el7php54-php, php54-php-gd, php54-php-cli and 21 more0:5.4.40-3.el7RHSA-2015:1219
Red Hatrhel_software_collections:2::el7php55-php, php55-php-gd, php55-php-cli and 23 more0:5.5.21-4.el7RHSA-2015:1186
Red Hatrhel_software_collections:2::el7rh-php56-php, rh-php56-php-gd, rh-php56-php-cli and 25 more0:5.6.5-7.el7RHSA-2015:1187
SUSELinux Enterprise Module for Web and Scripting 12php55.5.14-30.1SUSE-SU-2015:1253-2
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12php55.5.14-30.1SUSE-SU-2015:1253-1
SUSELinux Enterprise Server 11 SP2-LTSSphp535.3.17-47.1SUSE-SU-2016:1638-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6php-0:5.3.3-46.el6_6Fixed 2015-07-09RHSA-2015:1218
Red Hat Enterprise Linux 7php-0:5.4.16-36.ael7b_1Fixed 2015-06-23RHSA-2015:1135
Red Hat Software Collections for Red Hat Enterprise Linux 6php55-php-0:5.5.21-4.el6Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-php-0:5.6.5-7.el6Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6php54-php-0:5.4.40-3.el6Fixed 2015-07-09RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSphp55-php-0:5.5.21-4.el6Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSrh-php56-php-0:5.6.5-7.el6Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSphp54-php-0:5.4.40-3.el6Fixed 2015-07-09RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSphp55-php-0:5.5.21-4.el6Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSrh-php56-php-0:5.6.5-7.el6Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSphp54-php-0:5.4.40-3.el6Fixed 2015-07-09RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 7php55-php-0:5.5.21-4.el7Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php56-php-0:5.6.5-7.el7Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 7php54-php-0:5.4.40-3.el7Fixed 2015-07-09RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSphp55-php-0:5.5.21-4.el7Fixed 2015-06-25RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSrh-php56-php-0:5.6.5-7.el7Fixed 2015-06-25RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSphp54-php-0:5.4.40-3.el7Fixed 2015-07-09RHSA-2015:1219
Red Hat Enterprise Linux 5phpWill not fix
Red Hat Enterprise Linux 5php53Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-4643.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON