The libtiff image library tools suffer from integer overflows which may lead to a potentially exploitable heap overflow and result in arbitrary code execution.
The libtiff package ships a library, for reading and writing TIFF, as well as a small collection of tools for manipulating TIFF images. The cvt_whole_image function used in the tiff2rgba tool and the tiffcvt function used in the rgb2ycbcr tool do not properly validate the width and height of the image. Specific TIFF images with large width and height can be crafted to trigger the vulnerability.
A patch has been made available by the maintainer and further improved by Tom Lane of Red Hat ( https://bugzilla.redhat.com/attachment.cgi?id=351312 ).
I'm aware of the issue.
libtiff-3.8.2-alt5 -> sisyphus:
* Wed Jul 15 2009 Dmitry V. Levin <ldv@altlinux> 3.8.2-alt5
- tiff2rgba, rgb2ycbcr: Fixed potential integer overflows in
buffer size calculations (CVE-2009-2347; closes: #20774).