CVE-2022-0562

NameCVE-2022-0562
DescriptionNull source pointer passed as an argument to memcpy() function within TIFFReadDirectory() in tif_dirread.c in libtiff versions from 4.0 to 4.3.0 could lead to Denial of Service via crafted TIFF file. For users that compile libtiff from sources, a fix is available with commit 561599c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2932-1, DSA-5108-1

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-5fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsourcestretch4.0.8-2+deb9u8DLA-2932-1
tiffsourcebuster4.1.0+git191117-2~deb10u4DSA-5108-1
tiffsourcebullseye4.2.0-1+deb11u1DSA-5108-1
tiffsource(unstable)4.3.0-4

Notes

https://gitlab.com/libtiff/libtiff/-/issues/362
Fixed by: https://gitlab.com/libtiff/libtiff/-/commit/561599c99f987dc32ae110370cfdd7df7975586b

Search for package or bug name: Reporting problems