CVE-2010-2065: Buffer Overflow

Published Jun 7, 2010
·
Updated

Integer overflow in the TIFFroundup macro in LibTIFF before 3.9.3 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted TIFF file that triggers a buffer overflow.

Other sources

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 tsizet (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): https://bugs.launchpad.net/ubuntu/+source/tiff/+bug/589565

Red Hat

Affected Software

44 affected components
LibTIFF libtiff=3.4-beta29
LibTIFF libtiff=3.7.0-beta
LibTIFF libtiff=3.6.0-beta2
LibTIFF libtiff=3.4-beta34
LibTIFF libtiff=3.6.1
LibTIFF libtiff=3.6.0-beta
LibTIFF libtiff=3.8.0
LibTIFF libtiff=3.7.3
LibTIFF libtiff=3.4-beta32
LibTIFF libtiff=3.4-beta31
LibTIFF libtiff=3.8.1
LibTIFF libtiff=3.4-beta36
LibTIFF libtiff=3.4-beta24
LibTIFF libtiff=3.4
LibTIFF libtiff=3.5.7-alpha4
LibTIFF libtiff=3.8.2
LibTIFF libtiff=3.4-beta28
LibTIFF libtiff=3.5.7
LibTIFF libtiff=3.5.7-beta
LibTIFF libtiff=3.7.2
LibTIFF libtiff=3.4-beta37
LibTIFF libtiff=3.7.0
LibTIFF libtiff=3.6.0
LibTIFF libtiff=3.5.3
LibTIFF libtiff=3.7.1
LibTIFF libtiff=3.5.4
LibTIFF libtiff=3.5.2
LibTIFF libtiff=3.5.7-alpha3
LibTIFF libtiff=3.7.0-beta2
LibTIFF libtiff=3.5.7-alpha
LibTIFF libtiff=3.7.4
LibTIFF libtiff=3.7.0-alpha
LibTIFF libtiff=3.5.5
LibTIFF libtiff=3.9.0-beta
LibTIFF libtiff=3.5.6-beta
LibTIFF libtiff=3.9.0
LibTIFF libtiff=3.5.1
LibTIFF libtiff=3.9.1
LibTIFF libtiff=3.4-beta18
LibTIFF libtiff=3.9
LibTIFF libtiff=3.5.7-alpha2
LibTIFF libtiff=3.5.6
LibTIFF libtiff<=3.9.2
LibTIFF libtiff=3.4-beta35

Event History

Jun 7, 2010
Data Sourced
03:31 PM
DescriptionSeverityAffected Software
Jun 23, 2010
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-2065?

CVE-2010-2065 is classified as a high severity vulnerability due to its potential to cause denial of service and possibly allow remote code execution.

2

How do I fix CVE-2010-2065?

To fix CVE-2010-2065, update LibTIFF to version 3.9.3 or later.

3

What types of attacks can CVE-2010-2065 enable?

CVE-2010-2065 can enable remote attackers to execute arbitrary code or cause an application crash when processing crafted TIFF files.

4

Which versions of LibTIFF are affected by CVE-2010-2065?

LibTIFF versions prior to 3.9.3, including all versions 3.9.2 and below, are affected by CVE-2010-2065.

5

Who reported CVE-2010-2065?

CVE-2010-2065 was reported by Sauli Pahlman of CERT-FI.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203