CWE
119 190
Advisory Published
Updated

CVE-2015-4643: Buffer Overflow

First published: Mon May 16 2016(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
PHP<5.4.42
PHP>=5.5.0<5.5.26
PHP>=5.6.0<5.6.10
Debian GNU/Linux=7.0
Debian GNU/Linux=8.0
redhat enterprise Linux desktop=6.0
redhat enterprise Linux desktop=7.0
redhat enterprise Linux server=6.0
redhat enterprise Linux server=7.0
redhat enterprise Linux server aus=6.6
redhat enterprise Linux server aus=7.3
redhat enterprise Linux server aus=7.4
redhat enterprise Linux server aus=7.6
redhat enterprise Linux server eus=6.6
redhat enterprise Linux server eus=7.1
redhat enterprise Linux server eus=7.2
redhat enterprise Linux server eus=7.3
redhat enterprise Linux server eus=7.4
redhat enterprise Linux server eus=7.5
redhat enterprise Linux server eus=7.6
redhat enterprise Linux server tus=6.6
redhat enterprise Linux server tus=7.3
redhat enterprise Linux server tus=7.6
redhat enterprise Linux workstation=6.0
redhat enterprise Linux workstation=7.0
Oracle Linux=6
Oracle Linux=7-0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2015-4643?

    CVE-2015-4643 has been classified as a critical vulnerability due to the potential for remote code execution.

  • How do I fix CVE-2015-4643?

    To fix CVE-2015-4643, update PHP to version 5.4.42 or later, 5.5.26 or later, or 5.6.10 or later.

  • Which PHP versions are affected by CVE-2015-4643?

    CVE-2015-4643 affects PHP versions prior to 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10.

  • What are the potential impacts of CVE-2015-4643?

    The vulnerability can lead to a heap-based buffer overflow, allowing remote FTP servers to execute arbitrary code.

  • Are any Linux distributions affected by CVE-2015-4643?

    Yes, Debian and Red Hat enterprise Linux distributions are among those affected by CVE-2015-4643, depending on the versions used.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203