DescriptionThe _TIFFVGetField function in tif_dir.c in libtiff 4.0.6 allows attackers to cause a denial of service (invalid memory write and crash) or possibly have unspecified other impact via crafted field data in an extension tag in a TIFF image.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDLA-692-1, DLA-693-1
Debian Bugs809066, 842043, 850316

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)buster, buster (security)4.1.0+git191117-2~deb10u4fixed
bullseye (security), bullseye4.2.0-1+deb11u1fixed
bookworm, sid4.4.0-6fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsource(unstable)4.0.7-7809066, 842043, 850316

SUSE seem to have a fix (disputed):
Reproducer file here:
partially fixed by
The problem is present in tiff3 3.9.6-11+deb7u1 on wheezy (the problematic code
gets executed under gdb), however for some reason this does not lead to a segfault.

Search for package or bug name: Reporting problems