libtiff: heap-based buffer overflow in tif_lzw.c:LZWDecodeCompat() allows for denial of service
Published Mar 22, 2018
8.8
HIGHCVSS 3.1
EPSS 3.08%
Description
In LibTIFF 4.0.9, a heap-based buffer overflow occurs in the function LZWDecodeCompat in tif_lzw.c via a crafted TIFF file, as demonstrated by tiff2ps.
Affected products
No data.
Configuration 2
- 7.0
- 8.0
- 9.0
Configuration 3
- 14.04
- 16.04
- 18.04
- 18.10
Configuration 4
- 7.0
- 7.0
- 7.0
No data.
Red Hat Enterprise Linux 7
libtiff-0:4.0.3-32.el7
Fixed · RHSA-2019:2053
Red Hat Enterprise Linux 5
libtiff
Not affected
Red Hat Enterprise Linux 6
libtiff
Will not fix
Red Hat Enterprise Linux 8
libtiff
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libtiff-0:4.0.3-32.el7 | Fixed | RHSA-2019:2053 |
| Red Hat Enterprise Linux 5 | libtiff | Not affected | n/a |
| Red Hat Enterprise Linux 6 | 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:P/I:P/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 v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.08% (0.03077) | 87.21th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.10% (0.03097) | 86.00th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.89% (0.00889) | 73.88th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.30% (0.00305) | 70.60th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.30% (0.00305) | 68.94th | v3 (v2023.03.01) |
| Sep 22, 2023 | 0.30% (0.00305) | 66.16th | v3 (v2023.03.01) |
| Aug 13, 2023 | 0.38% (0.00378) | 69.38th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.37% (0.00372) | 68.89th | v3 (v2023.03.01) |
| May 8, 2023 | 0.43% (0.00430) | 70.68th | v3 (v2023.03.01) |
| Mar 16, 2023 | 0.38% (0.00383) | 68.81th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.35% (0.00346) | 67.14th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.07% (0.02069) | 50.36th | v1 |
| Jan 6, 2022 | 2.07% (0.02069) | 49.86th | v1 |
| Sep 1, 2021 | 2.07% (0.02069) | 77.27th | v1 |
| Apr 14, 2021 | 2.07% (0.02069) | 0.00th | v1 |
References (13)
- http://bugzilla.maptools.org/show_bug.cgi?id=2780 x_refsource_MISCExploitIssue TrackingThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2053 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-8905 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1559704 Issue Tracking
- https://github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow x_refsource_MISCExploitThird Party Advisory
- https://gitlab.com/libtiff/libtiff/commit/58a898cb4459055bb488ca815c23b880c242a27d x_refsource_CONFIRMPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/05/msg00008.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/05/msg00009.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-8905
- https://usn.ubuntu.com/3864-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-8905
- https://www.debian.org/security/2018/dsa-4349 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.