CVE-2022-40090

NameCVE-2022-40090
DescriptionAn issue was discovered in function TIFFReadDirectory libtiff before 4.4.0 allows attackers to cause a denial of service via crafted TIFF file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)buster4.1.0+git191117-2~deb10u4vulnerable
buster (security)4.1.0+git191117-2~deb10u9vulnerable
bullseye (security), bullseye4.2.0-1+deb11u5vulnerable
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.5.0-2

Notes

[bullseye] - tiff <no-dsa> (Minor issue)
[buster] - tiff <ignored> (Minor issue, DoS)
https://gitlab.com/libtiff/libtiff/-/issues/455
https://gitlab.com/libtiff/libtiff/-/merge_requests/386
https://gitlab.com/libtiff/libtiff/-/commit/d093eb5d961e21ba51420bc22382c514683a4d91 (v4.5.0rc1)
The specific PoC starts triggering with https://gitlab.com/libtiff/libtiff/-/commit/7db4f2b62206b9cba6cda538e0f296df0ac371bd (v4.4.0)
but the patch mentions this is an older, more general issue, requiring prior incomplete fix from:
https://gitlab.com/libtiff/libtiff/-/commit/f01c22704826d1587fb8d91b253752b13c6713ba (v4.0.10)
so let's assume versions < v4.4.0 are vulnerable.

Search for package or bug name: Reporting problems