CWE
190
Advisory Published
Updated

REDHAT-BUG-601274: Integer Overflow

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 SoftwareAffected VersionHow to fix
TIFF
Red Hat Enterprise Linux>=3<6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203