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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1391-1, DLA-1411-1, DSA-4349-1, ELA-19-1
Debian Bugs890441

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)jessie, jessie (lts)4.0.3-12.3+deb8u16fixed
stretch (security)4.0.8-2+deb9u8fixed
stretch (lts), stretch4.0.8-2+deb9u11fixed
buster4.1.0+git191117-2~deb10u4fixed
buster (security)4.1.0+git191117-2~deb10u9fixed
bullseye (security), bullseye4.2.0-1+deb11u5fixed
bookworm (security), bookworm4.5.0-6+deb12u1fixed
sid, trixie4.5.1+git230720-4fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsourcewheezy4.0.2-6+deb7u21DLA-1391-1
tiffsourcejessie4.0.3-12.3+deb8u6DLA-1411-1
tiffsourcestretch4.0.8-2+deb9u4DSA-4349-1
tiffsource(unstable)4.0.9-4890441
tiff3sourcewheezy3.9.6-11+deb7u12ELA-19-1
tiff3source(unstable)(unfixed)

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