CVE-2012-2088: Buffer Overflow
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
Event History
Frequently Asked Questions
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.
How do I fix CVE-2012-2088?
To fix CVE-2012-2088, update libtiff to version 3.9.5 or later.
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.
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.
Is there a workaround for CVE-2012-2088?
A viable workaround for CVE-2012-2088 is to avoid opening untrusted TIFF files.