// For flags

CVE-2016-10158

php: Wrong calculation in exif_convert_any_to_int function

Severity Score

7.5
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

La función exif_convert_any_to_int en ext/exif/exif.c en PHP en versiones anteriores a 5.6.30, 7.0.x en versiones anteriores a 7.0.15, y 7.1.x en versiones anteriores a 7.1.1 permite a atacantes remotos provocar una denegación de servicio (caída de aplicación) a través de datos EXIF manipulados que desencadenan un intento de dividir el entero negativo mínimo representable por -1.

It was found that the exif_convert_any_to_int() function in PHP was vulnerable to floating point exceptions when parsing tags in image files. A remote attacker with the ability to upload a malicious image could crash PHP, causing a Denial of Service.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2017-01-24 CVE Reserved
  • 2017-01-24 CVE Published
  • 2024-04-26 EPSS Updated
  • 2024-08-06 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-189: Numeric Errors
  • CWE-682: Incorrect Calculation
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
<= 5.6.29
Search vendor "Php" for product "Php" and version " <= 5.6.29"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.0
Search vendor "Php" for product "Php" and version "7.0.0"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.1
Search vendor "Php" for product "Php" and version "7.0.1"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.2
Search vendor "Php" for product "Php" and version "7.0.2"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.3
Search vendor "Php" for product "Php" and version "7.0.3"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.4
Search vendor "Php" for product "Php" and version "7.0.4"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.5
Search vendor "Php" for product "Php" and version "7.0.5"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.6
Search vendor "Php" for product "Php" and version "7.0.6"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.7
Search vendor "Php" for product "Php" and version "7.0.7"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.8
Search vendor "Php" for product "Php" and version "7.0.8"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.9
Search vendor "Php" for product "Php" and version "7.0.9"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.10
Search vendor "Php" for product "Php" and version "7.0.10"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.11
Search vendor "Php" for product "Php" and version "7.0.11"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.12
Search vendor "Php" for product "Php" and version "7.0.12"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.13
Search vendor "Php" for product "Php" and version "7.0.13"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.14
Search vendor "Php" for product "Php" and version "7.0.14"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.1.0
Search vendor "Php" for product "Php" and version "7.1.0"
-
Affected