libtiff: Heap-buffer overflow in tools/tiffcp via crafted BitsPerSample value
Published Jan 12, 2017
8.8
HIGHCVSS 3.1
EPSS 4.39%
Description
LibTIFF version 4.0.7 is vulnerable to a heap buffer overflow in the tools/tiffcp resulting in DoS or code execution via a crafted BitsPerSample value.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
libtiff
Will not fix
Red Hat Enterprise Linux 6
libtiff
Will not fix
Red Hat Enterprise Linux 7
compat-libtiff3
Will not fix
Red Hat Enterprise Linux 7
libtiff
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | libtiff | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | libtiff | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | compat-libtiff3 | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | libtiff | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This is a heap-based buffer overflow in the tiffcp utility of libtiff. A specially-crafted image when processed via the tiffcp binary, could cause it to crash or execute arbitrary code with the permissions of the user running the utility.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Oct 10, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.39% (0.04391) | 91.00th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.43% (0.04427) | 90.09th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.97% (0.00975) | 74.66th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.73% (0.03732) | 79.75th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.97% (0.00975) | 75.12th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.35% (0.02354) | 89.48th | v3 (v2023.03.01) |
| Apr 11, 2024 | 1.12% (0.01119) | 84.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.12% (0.01119) | 82.35th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.84% (0.02839) | 83.14th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.84% (0.02839) | 81.47th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.84% (0.02839) | 63.98th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.89% (0.02888) | 63.67th | v1 |
| Jan 6, 2022 | 2.89% (0.02888) | 63.32th | v1 |
| Sep 1, 2021 | 2.89% (0.02888) | 80.75th | v1 |
| Apr 14, 2021 | 2.89% (0.02888) | 0.00th | v1 |
References (11)
- http://bugzilla.maptools.org/show_bug.cgi?id=2656 x_refsource_CONFIRMExploitIssue Tracking
- http://bugzilla.maptools.org/show_bug.cgi?id=2657 x_refsource_CONFIRMExploitIssue Tracking
- http://www.debian.org/security/2017/dsa-3844 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/95413 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1037911 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2017-5225 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1412716 Issue Tracking
- https://github.com/vadz/libtiff/commit/5c080298d59efa53264d7248bbe3a04660db6ef7 x_refsource_CONFIRMPatch
- https://nvd.nist.gov/vuln/detail/CVE-2017-5225
- https://security.gentoo.org/glsa/201709-27 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-5225
| Link | Providers | Tags |
|---|---|---|
| http://bugzilla.maptools.org/show_bug.cgi?id=2656 | x_refsource_CONFIRMExploitIssue Tracking | |
| http://bugzilla.maptools.org/show_bug.cgi?id=2657 | x_refsource_CONFIRMExploitIssue Tracking | |
| http://www.debian.org/security/2017/dsa-3844 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.securityfocus.com/bid/95413 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| http://www.securitytracker.com/id/1037911 | vdb-entryx_refsource_SECTRACK | |
| https://access.redhat.com/security/cve/CVE-2017-5225 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1412716 | Issue Tracking | |
| https://github.com/vadz/libtiff/commit/5c080298d59efa53264d7248bbe3a04660db6ef7 | x_refsource_CONFIRMPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-5225 | ||
| https://security.gentoo.org/glsa/201709-27 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2017-5225 |
Change history (0)
No recorded changes yet.