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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, 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)bullseye (security), bullseye4.2.0-1+deb11u5fixed
bookworm, bookworm (security)4.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
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