php: Wrong calculation in exif_convert_any_to_int function
Published Jan 24, 2017
7.5
HIGHCVSS 3.0
EPSS 7.83%
Description
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.
Affected products
No data.
- ≤ 5.6.29
- 7.0.0
- 7.0.1
- 7.0.2
- 7.0.3
- 7.0.4
- 7.0.5
- 7.0.6
- 7.0.7
- 7.0.8
- 7.0.9
- 7.0.10
- 7.0.11
- 7.0.12
- 7.0.13
- 7.0.14
- 7.1.0
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat OpenShift Enterprise 2
php
Will not fix
Red Hat Software Collections
rh-php56-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | php | Will not fix | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (23 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.83% (0.07827) | 94.50th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.76% (0.07763) | 93.86th | v5 (v2026.06.15) |
| May 27, 2026 | 8.65% (0.08646) | 92.55th | v4 (v2025.03.14) |
| Dec 28, 2025 | 4.99% (0.04988) | 89.34th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.32% (0.02322) | 84.43th | v4 (v2025.03.14) |
| Oct 28, 2025 | 4.99% (0.04988) | 89.19th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.32% (0.02322) | 84.27th | v4 (v2025.03.14) |
| Oct 1, 2025 | 4.99% (0.04988) | 89.29th | v4 (v2025.03.14) |
| Aug 19, 2025 | 2.32% (0.02322) | 84.15th | v4 (v2025.03.14) |
| Jul 30, 2025 | 4.32% (0.04321) | 88.45th | v4 (v2025.03.14) |
| Jun 21, 2025 | 10.37% (0.10370) | 92.84th | v4 (v2025.03.14) |
| Mar 30, 2025 | 7.98% (0.07982) | 91.28th | v4 (v2025.03.14) |
| Mar 29, 2025 | 11.04% (0.11036) | 89.04th | v4 (v2025.03.14) |
| Mar 17, 2025 | 7.98% (0.07982) | 91.47th | v4 (v2025.03.14) |
| Dec 12, 2024 | 4.41% (0.04413) | 92.70th | v3 (v2023.03.01) |
| Apr 26, 2024 | 4.41% (0.04413) | 92.29th | v3 (v2023.03.01) |
| Feb 6, 2024 | 3.16% (0.03163) | 90.17th | v3 (v2023.03.01) |
| Dec 28, 2023 | 2.60% (0.02600) | 89.18th | v3 (v2023.03.01) |
| Nov 15, 2023 | 2.44% (0.02445) | 88.84th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.19% (0.02190) | 87.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.77th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.17% (0.02172) | 78.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.17% (0.02172) | 57.73th | v2 (v2022.01.01) |
References (15)
- http://php.net/ChangeLog-5.php x_refsource_CONFIRMRelease NotesVendor Advisory
- http://php.net/ChangeLog-7.php x_refsource_CONFIRMRelease NotesVendor Advisory
- http://www.debian.org/security/2017/dsa-3783 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/95764 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1037659 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/errata/RHSA-2018:1296 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2016-10158 Vendor Advisory
- https://bugs.php.net/bug.php?id=73737 x_refsource_CONFIRMIssue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=1419015 Issue Tracking
- https://github.com/php/php-src/commit/1cda0d7c2ffb62d8331c64e703131d9cabdc03ea x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-10158
- https://security.gentoo.org/glsa/201702-29 vendor-advisoryx_refsource_GENTOO
- https://security.netapp.com/advisory/ntap-20180112-0001/ x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2016-10158
- https://www.tenable.com/security/tns-2017-04 x_refsource_CONFIRM
Change history (0)
No recorded changes yet.