
CVE catalog
CVE-2018-5784
tiff: CVE-2018-5784
- Severity
- Medium · CVSS 4.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.96% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tiff | sid | 4.7.2-1 | fixed |
| Debian | tiff | forky | 4.7.2-1 | fixed |
| Debian | tiff | trixie | 4.7.0-3+deb13u3 | fixed |
| Debian | tiff | trixie-security | 4.7.0-3+deb13u3 | fixed |
| Debian | tiff | bookworm | 4.5.0-6+deb12u4 | fixed |
| Debian | tiff | bookworm-security | 4.5.0-6+deb12u4 | fixed |
| Alpine | tiff | 3.10 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.11 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.12 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.13 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.14 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.15 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.16 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.17 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.18 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.19 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.20 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.21 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.22 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.23 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.24 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.4 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.5 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.6 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.7 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.8 | 4.0.9-r2 | fixed |
| Alpine | tiff | 3.9 | 4.0.9-r2 | fixed |
| Ubuntu | tiff | 14.04 | 4.0.2-4ubuntu3 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-5ubuntu1 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-6 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-6ubuntu1 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-7 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-7ubuntu0.1 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-7ubuntu0.2 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-7ubuntu0.3 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-7ubuntu0.4 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-7ubuntu0.6 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-7ubuntu0.7 | vulnerable |
| Ubuntu | tiff | 14.04 | 4.0.3-7ubuntu0.8 | fixed |
| Ubuntu | tiff | 16.04 | 4.0.3-12.3ubuntu2 | vulnerable |
| Ubuntu | tiff | 16.04 | 4.0.5-1 | vulnerable |
| Ubuntu | tiff | 16.04 | 4.0.6-1 | vulnerable |
| Ubuntu | tiff | 16.04 | 4.0.6-1ubuntu0.1 | vulnerable |
| Ubuntu | tiff | 16.04 | 4.0.6-1ubuntu0.2 | vulnerable |
| Ubuntu | tiff | 16.04 | 4.0.6-1ubuntu0.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tiff | source | sid | 4.0.9-4 | not yet assigned | Not reported | [890441] |
| Debian | tiff | source | forky | 4.0.9-4 | not yet assigned | Not reported | [890441] |
| Debian | tiff | source | trixie | 4.0.9-4 | not yet assigned | Not reported | [890441] |
| Debian | tiff | source | bookworm | 4.0.9-4 | not yet assigned | Not reported | [890441] |
| Alpine | tiff | apk | 3.10 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.11 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.12 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.13 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.14 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.15 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.16 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.17 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.18 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.19 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.20 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.21 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.22 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.23 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.24 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.4 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.5 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.6 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.7 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.8 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Alpine | tiff | apk | 3.9 | 4.0.9-r2 | Not reported | ALPINE-CVE-2018-5784 | Not reported |
| Ubuntu | tiff | deb | 14.04 | 4.0.3-7ubuntu0.8 | Not reported | UBUNTU-CVE-2018-5784 | Not reported |
| Ubuntu | tiff | deb | 16.04 | 4.0.6-1ubuntu0.3 | Not reported | UBUNTU-CVE-2018-5784 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libtiff5-dev]Unknown
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
- [libtiff6]Unknown
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
- [libtiff-dev]Unknown
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
- [libtiff-doc]Unknown
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· all · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· all · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· all · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· all · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
- [libtiff-opengl]Unknown
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
- [libtiff-tools]Unknown
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
- [libtiffxx6]Unknown
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · bookworm; dsa · tiff · debian · 12
[Debian 13 (Trixie)]
- [libtiff5-dev]Unknown
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
- [libtiff6]Unknown
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
- [libtiff-dev]Unknown
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
- [libtiff-doc]Unknown
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· all · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u2· all · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· all · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· all · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
- [libtiff-opengl]Unknown
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
- [libtiff-tools]Unknown
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
- [libtiffxx6]Unknown
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.0.9-4dsa · tiff · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_1180-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-5784]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-5784]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-5784]
- [https://security-tracker.debian.org/tracker/CVE-2018-5784]
- [https://wid.cert-bund.de/.well-known/csaf/white/2018/wid-sec-w-2025-2524.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]