7.5
CWE
189
Advisory Published
CVE Published
Updated

CVE-2016-10158

First published: Thu Jan 19 2017(Updated: )

The exif_convert_any_to_int function in ext/exif/exif.c in PHP before 5.6.30, 7.0.x before 7.0.15, and 7.1.x before 7.1.1 allows remote attackers to cause a denial of service (application crash) via crafted EXIF data that triggers an attempt to divide the minimum representable negative integer by -1.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/php<5.6.30
5.6.30
redhat/php<7.0.15
7.0.15
redhat/php<7.1.1
7.1.1
PHP<7.0.15
7.0.15
PHP<=5.6.29
PHP=7.0.0
PHP=7.0.1
PHP=7.0.2
PHP=7.0.3
PHP=7.0.4
PHP=7.0.5
PHP=7.0.6
PHP=7.0.7
PHP=7.0.8
PHP=7.0.9
PHP=7.0.10
PHP=7.0.11
PHP=7.0.12
PHP=7.0.13
PHP=7.0.14
PHP=7.1.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-2016-10158?

    CVE-2016-10158 has a severity rating that indicates a potential denial of service due to application crashes.

  • How do I fix CVE-2016-10158?

    To fix CVE-2016-10158, upgrade PHP to versions 5.6.30, 7.0.15, or 7.1.1 or later.

  • What systems are affected by CVE-2016-10158?

    CVE-2016-10158 affects PHP versions prior to 5.6.30, 7.0.15, and 7.1.1.

  • What types of attacks can exploit CVE-2016-10158?

    Attackers can exploit CVE-2016-10158 by crafting malicious EXIF data that triggers an application crash.

  • Is there a way to mitigate CVE-2016-10158 without upgrading?

    Mitigation without upgrading is limited; the best approach is to update to a patched version of PHP.

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