Libtiff

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Libtiff
Developer(s) Sam Leffler,
Silicon Graphics
Initial release 1988; 26 years ago (1988)
Stable release 4.0.3 / September 22, 2012; 22 months ago (2012-09-22)
Development status Active
Written in C
License BSD-like licence
Website http://www.remotesensing.org/libtiff/

Libtiff is a library for reading and writing Tagged Image File Format (abbreviated TIFF) files. The set also contains command line tools for processing TIFFs. It is distributed in source code and can be found as binary builds for all kinds of platforms. The libtiff software was written by Sam Leffler while working for Silicon Graphics.

Features[edit]

Support for BigTIFF files larger than 4 GiB (4,294,967,296 bytes) was included for Libtiff 4.0.

Exploits[edit]

A TIFF file is composed of small descriptor blocks containing offsets into the file which point to a variety of data types. Incorrect offset values can cause programs to attempt to read erroneous portions of the file or attempt to read past the physical end of file. Improperly encoded packet or line lengths within the file can cause rendering programs which lack appropriate boundary checks to overflow their internal buffers.

Multiple buffer overflows have been found in Libtiff.[1][2][3] Some of these have also been used to execute unsigned code on the PlayStation Portable,[4] as well as run third-party applications on the iPhone and iPod Touch firmware.[5]

Website controversy[edit]

The primary libtiff website (libtiff.org) is considered hijacked.[citation needed] While it now contains a mirror of the real site for current development, the libtiff.org site has not been updated since version 3.6.1. Because of this, much of the information contained therein is incorrect, including the current version number, authors, mailing list address, and the CVS information.

References[edit]

External links[edit]