7.8
CWE
787
Advisory Published
CVE Published
Updated

CVE-2016-5399

First published: Wed Jul 20 2016(Updated: )

The bzread function in ext/bz2/bz2.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted bz2 archive.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
PHP<7.0.9
7.0.9
PHP<=5.5.37
PHP>=5.6.0<5.6.24
PHP>=7.0.0<7.0.9

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.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2016-5399?

    CVE-2016-5399 is considered a high severity vulnerability due to its potential for remote code execution and denial of service.

  • How do I fix CVE-2016-5399?

    To fix CVE-2016-5399, upgrade PHP to version 5.5.38, 5.6.24, or 7.0.9 or later.

  • What versions of PHP are affected by CVE-2016-5399?

    CVE-2016-5399 affects PHP versions prior to 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9.

  • What kind of attacks can be executed due to CVE-2016-5399?

    CVE-2016-5399 allows attackers to exploit an out-of-bounds write vulnerability that can lead to denial of service or arbitrary code execution.

  • Is there any workaround for CVE-2016-5399?

    There are no effective workarounds for CVE-2016-5399; upgrading to the fixed version is the recommended action.

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