CVE-2018-18557
HIGH 8.8CVSS 3.0LibTIFF 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.
- Published
- 22 Oct 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-787
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | libtiff | libtiffcpe:2.3:a:libtiff:libtiff:4.0.9:*:*:*:*:*:*:* |
= 4.0.9 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* |
= 18.10 |
References
- https://access.redhat.com/errata/RHSA-2019:2053
- https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-18557
- https://gitlab.com/libtiff/libtiff/commit/681748ec2f5ce88da5f9fa6831e1653e46af8a66
- https://gitlab.com/libtiff/libtiff/merge_requests/38 · Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/10/msg00019.html · Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201904-15
- https://usn.ubuntu.com/3864-1/ · Third Party Advisory
- https://usn.ubuntu.com/3906-2/
- https://www.debian.org/security/2018/dsa-4349 · Third Party Advisory
- https://www.exploit-db.com/exploits/45694/ · Exploit, Third Party Advisory, VDB Entry
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 22 Oct 2018)