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 Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-10158 has a severity rating that indicates a potential denial of service due to application crashes.
To fix CVE-2016-10158, upgrade PHP to versions 5.6.30, 7.0.15, or 7.1.1 or later.
CVE-2016-10158 affects PHP versions prior to 5.6.30, 7.0.15, and 7.1.1.
Attackers can exploit CVE-2016-10158 by crafting malicious EXIF data that triggers an application crash.
Mitigation without upgrading is limited; the best approach is to update to a patched version of PHP.