PHP up to 5.6.29/7.0.14/7.1.0 EXIF Data ext/exif/exif.c exif_convert_any_to_int numeric error

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.3$0-$5k0.00

Summaryinfo

A vulnerability has been found in PHP up to 5.6.29/7.0.14/7.1.0 and classified as problematic. Affected is the function exif_convert_any_to_int of the file ext/exif/exif.c of the component EXIF Data Handler. This manipulation causes numeric error. This vulnerability is registered as CVE-2016-10158. Remote exploitation of the attack is possible. No exploit is available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in PHP up to 5.6.29/7.0.14/7.1.0 (Programming Language Software). It has been declared as problematic. Affected by this vulnerability is the function exif_convert_any_to_int of the file ext/exif/exif.c of the component EXIF Data Handler. The manipulation with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect availability. The summary by CVE is:

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.

The bug was discovered 01/19/2017. The weakness was published 01/24/2017 (Website). It is possible to read the advisory at php.net. This vulnerability is known as CVE-2016-10158 since 01/24/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 96799 (PHP 5.6.x < 5.6.30 Multiple DoS), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370348 (Apple Mac OS X Security Update Sierra 10.12.4, El Capitan 2017-001 and Yosemite 2017-001 Not Installed (APPLE-SA-2017-03-27-3)).

Upgrading to version 5.6.30, 7.0.15 or 7.1.1 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (96799) and SecurityFocus (BID 95764†). Similar entries are available at VDB-67396, VDB-67398, VDB-67420 and VDB-67724. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB Meta Temp Score: 6.3

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 96799
Nessus Name: PHP 5.6.x < 5.6.30 Multiple DoS
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 801105
OpenVAS Name: Apple Mac OS X Multiple Vulnerabilities-HT207615
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 5.6.30/7.0.15/7.1.1
Patch: github.com

Timelineinfo

01/19/2017 🔍
01/19/2017 +0 days 🔍
01/24/2017 +5 days 🔍
01/24/2017 +0 days 🔍
01/24/2017 +0 days 🔍
01/24/2017 +0 days 🔍
01/25/2017 +1 days 🔍
01/26/2017 +1 days 🔍
05/14/2026 +3395 days 🔍

Sourcesinfo

Product: php.org

Advisory: RHSA-2018:1296
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-10158 (🔍)
GCVE (CVE): GCVE-0-2016-10158
GCVE (VulDB): GCVE-100-95875

OVAL: 🔍

SecurityFocus: 95764 - PHP CVE-2016-10158 Denial of Service Vulnerability
OSVDB: - CVE-2016-10158 - PHP - Denial of Service Issue
SecurityTracker: 1037659

See also: 🔍

Entryinfo

Created: 01/25/2017 10:40
Updated: 05/14/2026 18:11
Changes: 01/25/2017 10:40 (67), 07/31/2020 06:47 (6), 11/03/2022 10:35 (4), 11/03/2022 10:41 (11), 05/14/2026 18:11 (15)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!