Skip to content
Fencer Intel
medium 6.5

CVE-2018-5784 json

In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c.

published 8y ago modified 4mo ago also EUVD-2018-17551

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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.

Patch / fix

  • tiff Debian 14, Debian 13, Debian 12 4.0.9-4

debian advisories DEBIAN-CVE-2018-5784

  • tiff Ubuntu 14.04 LTS 4.0.3-7ubuntu0.8
  • tiff Ubuntu 16.04 LTS 4.0.6-1ubuntu0.3

ubuntu advisories UBUNTU-CVE-2018-5784

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • tiff SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 4.0.9-44.10.1

suse advisories SUSE-SU-2018:1180-1

  • tiff openSUSE Tumbleweed 4.3.0-1.3

opensuse advisories openSUSE-SU-2024:11461-1

  • tiff Alpine 3.24, Alpine 3.23, Alpine 3.22 +18 more 4.0.9-r2

alpine advisories ALPINE-CVE-2018-5784

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • lib32-libtiff Arch Linux 4.0.10-1
  • libtiff Arch Linux 4.0.9-2

arch linux advisories AVG-791AVG-813

Is CVE-2018-5784 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-5784 updated cvss 3.3

libtiff: uncontrolled resource consumption in TIFFSetDirectory function in tif_dir.c

  • Red Hat Enterprise Linux 5 libtiff Red Hat Enterprise Linux 6 libtiff Red Hat Enterprise Linux 7 libtiff, libtiff-tools, compat-libtiff3
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 8 libtiff, libtiff-tools
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.96% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugzilla.maptools.org http://bugzilla.maptools.org/show_bug.cgi?id=2772 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.