Alpine: libtiffxx, multiple tiff packages: security update to 4.0.9-r5

high Tenable Cloud Security Plugin ID 424610

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c.
This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an
out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in
t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause
arbitrary code execution. (CVE-2017-9935)

- In LibTIFF 4.0.8, there is a denial of service vulnerability in the TIFFOpen function. A crafted input
will lead to a denial of service attack. During the TIFFOpen process, td_imagelength is not checked. The
value of td_imagelength can be directly controlled by an input file. In the ChopUpSingleUncompressedStrip
function, the _TIFFCheckMalloc function is called based on td_imagelength. If we set the value of
td_imagelength close to the amount of system memory, it will hang the system or trigger the OOM killer.
(CVE-2017-11613)

- tools/pal2rgb.c in pal2rgb in LibTIFF 4.0.9 allows remote attackers to cause a denial of service
(TIFFSetupStrips heap-based buffer overflow and application crash) or possibly have unspecified other
impact via a crafted TIFF file. (CVE-2017-17095)

- 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. (CVE-2018-8905)

- The TIFFWriteDirectorySec() function in tif_dirwrite.c in LibTIFF through 4.0.9 allows remote attackers to
cause a denial of service (assertion failure and application crash) via a crafted file, a different
vulnerability than CVE-2017-13726. (CVE-2018-10963)

See Also

https://security.alpinelinux.org/vuln/CVE-2017-11613

https://security.alpinelinux.org/vuln/CVE-2017-17095

https://security.alpinelinux.org/vuln/CVE-2017-9935

https://security.alpinelinux.org/vuln/CVE-2018-10963

https://security.alpinelinux.org/vuln/CVE-2018-8905

Plugin Details

Severity: High

ID: 424610

Version: Revision 1.8

Type: Local

Published: 4/4/2025

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-8905

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 6/26/2017

Reference Information

CVE: CVE-2017-11613, CVE-2017-17095, CVE-2017-9935, CVE-2018-10963, CVE-2018-8905

BID: 102124, 99296, 99977