A NULL pointer dereference in TIFFClose() is caused by a failure to open an output file (non-existent path or a path that requires permissions like /dev/null) while specifying zones.
https://research.jfrog.com/vulnerabilities/libtiff-nullderef-dos-xray-522144/
https://lists.debian.org/debian-lts-announce/2023/07/msg00034.html