CVE-2012-2088: Buffer Overflow

Published Jun 18, 2012
·
Updated

A type-conversion flaw leading to a heap-based buffer overflow was found in the way libtiff reads certain tiled tiff files. An attacker could create a specially-crafted TIFF image that, when opened, could cause an application using libtiff to crash or, possibly, execute arbitrary code with the privileges of the user running the application.

This issue does affects only version 3.x, but is fixed in upstream 4.x

This bug has been split from: bug 810551

Other sources

Integer signedness error in the TIFFReadDirectory function in tifdirread.c in libtiff 3.9.4 and earlier allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a negative tile depth in a tiff image, which triggers an improper conversion between signed and unsigned types, leading to a heap-based buffer overflow.

MITRE

Affected Software

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

Event History

Jun 18, 2012
Data Sourced
04:41 AM
DescriptionSeverityAffected Software
Jul 22, 2012
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-2088?

CVE-2012-2088 has a severity rating of high due to the potential for remote code execution and application crashes.

2

How do I fix CVE-2012-2088?

To fix CVE-2012-2088, update libtiff to version 3.9.5 or later.

3

What are the risks associated with CVE-2012-2088?

The risks of CVE-2012-2088 include potential application crashes and arbitrary code execution from processing specially crafted TIFF images.

4

Which versions of libtiff are affected by CVE-2012-2088?

CVE-2012-2088 affects all versions of libtiff up to and including 3.9.4 and several 3.4 versions.

5

Is there a workaround for CVE-2012-2088?

A viable workaround for CVE-2012-2088 is to avoid opening untrusted TIFF files.

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