CVE-2018-5784

NameCVE-2018-5784
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1391-1, DLA-1411-1, DSA-4349-1
NVD severitymedium (attack range: remote)
Debian Bugs890441

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)jessie4.0.3-12.3+deb8u5vulnerable
jessie (security)4.0.3-12.3+deb8u7fixed
stretch4.0.8-2+deb9u2vulnerable
stretch (security)4.0.8-2+deb9u4fixed
buster, sid4.0.10-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsource(unstable)4.0.9-4medium890441
tiffsourcejessie4.0.3-12.3+deb8u6mediumDLA-1411-1
tiffsourcestretch4.0.8-2+deb9u4mediumDSA-4349-1
tiffsourcewheezy4.0.2-6+deb7u21mediumDLA-1391-1
tiff3source(unstable)(unfixed)medium

Notes

[wheezy] - tiff3 <postponed> (Minor issue, revisit once fixed upstream)
http://bugzilla.maptools.org/show_bug.cgi?id=2772
Fixed by: https://gitlab.com/libtiff/libtiff/commit/473851d211cf8805a161820337ca74cc9615d6ef

Search for package or bug name: Reporting problems