CVE-2018-18557
Reported by mitre · Published October 22, 2018
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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libtiff-tools | Amazon Linux | 4.0.3-32.amzn2 |
| tiff | Alpine | 4.0.10-r0 |
| libtiff | Arch Linux | 4.0.10-1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | libtiff-tools | 0 |
| alpine | tiff | 0 |
| arch | libtiff | 0 |
| n/a | n/a | * |
| amazon:2 | libtiff-static | 0 |
| amazon:2 | libtiff | 0 |
| arch | lib32-libtiff | 0 |
| amazon:2 | libtiff-devel | 0 |
Timeline
- Oct 22, 2018 CVE Published
- Oct 25, 2018 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-18557
vulnetix vdb fixes CVE-2018-18557
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-18557/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3864-1 vendor-advisoryx_refsource_UBUNTU
- DSA-4349 vendor-advisoryx_refsource_DEBIAN
- 45694 exploitx_refsource_EXPLOIT-DB
- x_refsource_MISC
- [debian-lts-announce] 20181028 [SECURITY] [DLA 1557-1] tiff security update mailing-listx_refsource_MLIST
- USN-3906-2 vendor-advisoryx_refsource_UBUNTU
- GLSA-201904-15 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- RHSA-2019:2053 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC