Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-18557 EUVD-2018-10277GHSA-p963-j6qf-rp28

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta,…

Published Oct 22, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tiff 4.0.9+git181026-1 —
Debian 13 tiff 4.0.9+git181026-1 —
Debian 12 tiff 4.0.9+git181026-1 —
Debian 9 tiff 4.0.8-2+deb9u4 DSA-4349-1
Debian 8 tiff 4.0.3-12.3+deb8u7 DLA-1557-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS tiff 4.0.9-5ubuntu0.1 USN-3864-1
Ubuntu 16.04 LTS tiff 4.0.6-1ubuntu0.5 USN-3864-1
Ubuntu 14.04 LTS tiff 4.0.3-7ubuntu0.10 USN-3864-1
ReleasePackageFixed inAdvisory
RHEL 7 libtiff +3 4.0.3-32.el7 RHSA-2019:2053
ReleasePackageFixed inAdvisory
SLES 15 tiff 4.0.9-5.17.1 SUSE-SU-2018:3925-1
SLES 12 SP4 tiff 4.0.9-44.27.1 SUSE-SU-2018:3911-2
SLES 12 SP3 tiff 4.0.9-44.27.1 SUSE-SU-2018:3911-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP4 tiff 4.0.9-44.27.1 SUSE-SU-2018:3911-2
SLES for SAP 12 SP3 tiff 4.0.9-44.27.1 SUSE-SU-2018:3911-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tiff 4.3.0-1.3 openSUSE-SU-2024:11461-1
ReleasePackageFixed inAdvisory
Alpine v3.24 tiff 4.0.10-r0 —
Alpine v3.23 tiff 4.0.10-r0 —
Alpine v3.22 tiff 4.0.10-r0 —
Alpine v3.21 tiff 4.0.10-r0 —
Alpine v3.20 tiff 4.0.10-r0 —
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 tiff 4.0.10-r0 —
Alpine v3.18 tiff 4.0.10-r0 —
Alpine v3.17 tiff 4.0.10-r0 —
Alpine v3.16 tiff 4.0.10-r0 —
Alpine v3.15 tiff 4.0.10-r0 —
Alpine v3.14 tiff 4.0.10-r0 —
Alpine v3.13 tiff 4.0.10-r0 —
Alpine v3.12 tiff 4.0.10-r0 —
Alpine v3.11 tiff 4.0.10-r0 —
Alpine v3.10 tiff 4.0.10-r0 —
Alpine v3.9 tiff 4.0.10-r0 —
Alpine v3.8 tiff 4.0.10-r0 —
Alpine v3.7 tiff 4.0.10-r0 —
Alpine v3.6 tiff 4.0.10-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libtiff +3 4.0.3-32.amzn2 ALAS2-2019-1327

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 libtiff +3 4.0.3-32.el7 ELSA-2019-2053

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 10

References