libtiff: uncontrolled resource consumption in TIFFSetDirectory function in tif_dir.c
Published Jan 19, 2018
6.5
MEDIUMCVSS 3.0
EPSS 2.96%
Description
In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.
Affected products
No data.
Configuration 2
- 7.0
- 8.0
- 9.0
Configuration 3
- 14.04
- 16.04
- 17.10
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
Red Hat Enterprise Linux 8
libtiff
Not affected
| 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 |
| Red Hat Enterprise Linux 8 | libtiff | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
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:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/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
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.96% (0.02960) | 86.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.02% (0.03016) | 85.65th | v5 (v2026.06.15) |
| Oct 19, 2025 | 0.47% (0.00468) | 63.60th | v4 (v2025.03.14) |
| Jul 12, 2025 | 2.13% (0.02130) | 83.44th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.64% (0.00643) | 68.88th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.98% (0.00978) | 84.09th | v3 (v2023.03.01) |
| Jun 26, 2024 | 0.98% (0.00978) | 83.51th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.98% (0.00978) | 81.51th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.70% (0.00705) | 77.30th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.32% (0.01319) | 71.27th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.58% (0.02580) | 55.23th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.58% (0.02580) | 0.00th | v1 |
References (11)
- http://bugzilla.maptools.org/show_bug.cgi?id=2772 x_refsource_MISCExploitIssue TrackingThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-5784 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1537740 Issue Tracking
- https://gitlab.com/libtiff/libtiff/commit/473851d211cf8805a161820337ca74cc9615d6ef x_refsource_CONFIRMPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/05/msg00022.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00002.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-5784
- https://usn.ubuntu.com/3602-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3606-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-5784
- https://www.debian.org/security/2018/dsa-4349 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.