LibTIFF master branch has an out-of-bounds read in LZWDecode in libtiff/tif_lzw.c:624, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit b4e79bfa.
https://www.debian.org/security/2023/dsa-5333
https://security.netapp.com/advisory/ntap-20220616-0005/
https://security.gentoo.org/glsa/202210-10
https://gitlab.com/libtiff/libtiff/-/issues/410
https://gitlab.com/libtiff/libtiff/-/commit/b4e79bfa0c7d2d08f6f1e7ec38143fc8cb11394a
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1623.json