Multiple vulnerabilities in libtiff before 3.8.1 allow context-dependent attackers to cause a denial of service via a TIFF image that triggers errors in (1) the TIFFFetchAnyArray function in (a) tifdirread.c; (2) certain "codec cleanup methods" in (b) tiflzw.c, (c) tifpixarlog.c, and (d) tifzip.c; (3) and improper restoration of setfield and getfield methods in cleanup functions within (e) tifjpeg.c, tifpixarlog.c, (f) tiffax3.c, and tifzip.c.