First published: Mon Jun 07 2010(Updated: )
Sauli Pahlman of CERT-FI provided us with fuzzed TIFF file which crashes image viewers using libtiff library. TIFF image triggers an integer overflow in TIFFroundup() macro called from TIFFFillStrip(). Sufficient large bytecount from the file can cause TIFFroundup() to return 0 and cause TIFFReadBufferSetup() to allocate an insufficiently-sized buffer. Later in TIFFReadRawStrip1(), application-provided read callback is called via TIFFReadFile() that possibly overflows the buffer. This flaw occurs in libtiff 3.9.2, where bytecount in TIFFFillStrip() is defined as uint32. Older libtiff versions (e.g. those shipped with Red Hat Enterprise Linux 3, 4, and 5) use tsize_t (signed int32) as its type and reject bytecount values that may lead to integer overflow earlier. Issues was reported in launchpad (bug is currently restricted): <a href="https://bugs.launchpad.net/ubuntu/+source/tiff/+bug/589565">https://bugs.launchpad.net/ubuntu/+source/tiff/+bug/589565</a>
Affected Software | Affected Version | How to fix |
---|---|---|
TIFF | ||
Red Hat Enterprise Linux | >=3<6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
REDHAT-BUG-601274 is classified as a critical vulnerability due to the potential for denial of service through crashing image viewers.
To fix REDHAT-BUG-601274, ensure you are using the latest patched version of the libtiff library provided by your distribution.
REDHAT-BUG-601274 affects versions of the libtiff library used in Red Hat Enterprise Linux prior to version 6.
The vulnerability in REDHAT-BUG-601274 is an integer overflow that occurs within the TIFFroundup() macro during the processing of certain TIFF files.
The REDHAT-BUG-601274 vulnerability was reported by Sauli Pahlman of CERT-FI.