CVE-2018-18557: High severity LibTIFF libtiff vulnerability

Published Oct 22, 2018
·
Updated

Last updated 25 August 2025

Other sources

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 tifjbig.c JBIGDecode out-of-bounds write.

Launchpad

LibTIFF 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tifjbig.c JBIGDecode out-of-bounds write.

Upstream MR:

https://gitlab.com/libtiff/libtiff/mergerequests/38

References:

https://bugs.chromium.org/p/project-zero/issues/detail?id=1697

Red Hat

Affected Software

8 affected componentsFixes available
LibTIFF libtiff=4.0.9
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
debian/tiff
4.2.0-1+deb11u54.2.0-1+deb11u84.5.0-6+deb12u44.7.0-3+deb13u24.7.0-3+deb13u34.7.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.2.0-1+deb11u5Fixed in 4.2.0-1+deb11u8Fixed in 4.5.0-6+deb12u4Fixed in 4.7.0-3+deb13u2Fixed in 4.7.0-3+deb13u3Fixed in 4.7.2-1

Event History

Oct 22, 2018
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:29 PM
DescriptionSeverityWeaknessAffected Software
Oct 30, 2018
Data Sourced
via Red Hat·09:36 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:57 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·04:01 PM
RemedyDescriptionSeverityAffected Software
Jul 20, 2026
Data Sourced
via Debian·11:29 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-18557?

CVE-2018-18557 is classified as a critical vulnerability due to its potential for buffer overflow leading to arbitrary code execution.

2

How do I fix CVE-2018-18557?

To fix CVE-2018-18557, upgrade to versions 4.2.0-1+deb11u5, 4.2.0-1+deb11u6, 4.5.0-6+deb12u2, 4.5.0-6+deb12u1, or 4.5.1+git230720-5 of the libtiff library.

3

What software is affected by CVE-2018-18557?

CVE-2018-18557 affects multiple versions of libtiff, specifically versions 3.9.3 through 4.0.9 with JBIG enabled.

4

What are the potential impacts of CVE-2018-18557?

The potential impacts of CVE-2018-18557 include remote code execution and denial-of-service attacks if exploited.

5

Is CVE-2018-18557 relevant to Debian and Ubuntu users?

Yes, CVE-2018-18557 is relevant to users of Debian Linux 8.0, 9.0, as well as various versions of Ubuntu Linux, as these distributions use libtiff.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203