Vulnerabilities · 2018 · Libtiff
CVE-2018-18557
Libtiff vulnerability
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.
Affected products
Libtiff, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libtiff runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gitlab.com/libtiff/libtiff/merge_requests/38 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/10/msg00019.html · Third Party Advisory
- usn.ubuntu.com/3864-1/ · Third Party Advisory
- www.debian.org/security/2018/dsa-4349 · Third Party Advisory
- www.exploit-db.com/exploits/45694/ · Exploit
- access.redhat.com/errata/RHSA-2019:2053
- github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-18557
- gitlab.com/libtiff/libtiff/commit/681748ec2f5ce88da5f9fa6831e1653e46af8a66
- nvd.nist.gov/vuln/detail/CVE-2018-18557
- cve.org/CVERecord?id=CVE-2018-18557
More vulnerabilities in Libtiff products
CVE-2025-9165CVE-2025-8961CVE-2025-8851CVE-2025-8534CVE-2025-8177CVE-2025-8176CVE-2024-13978CVE-2024-7006All 258
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.