CVE-2018-5784
Reported by mitre · Published January 19, 2018
In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tiff | Alpine | 4.0.9-r2 |
| libtiff | Arch Linux | 4.0.9-2 |
| lib32-libtiff | Arch Linux | 4.0.10-1 |
| tiff | Ubuntu:14.04:LTS | 4.0.3-7ubuntu0.8 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | tiff | 0 |
| arch | libtiff | 0 |
| arch | lib32-libtiff | 0 |
| n/a | n/a | * |
Timeline
- Jan 19, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-5784
vulnetix vdb fixes CVE-2018-5784
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-5784/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3606-1 vendor-advisoryx_refsource_UBUNTU
- USN-3602-1 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20180531 [SECURITY] [DLA 1391-1] tiff security update mailing-listx_refsource_MLIST
- DSA-4349 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- [debian-lts-announce] 20180702 [SECURITY] [DLA 1411-1] tiff security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM