Puneet Varma (Editor)

Libtiff

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Development status
  
Active

Written in
  
C

Developer(s)
  
Sam Leffler, Silicon Graphics

Initial release
  
1988; 29 years ago (1988)

Stable release
  
4.0.7 / November 19, 2016; 3 months ago (2016-11-19)

Repository
  
[cvs://cvsanon:@cvs.maptools.org/cvs/maptools/cvsroot cvs.maptools.org/cvs/maptools/cvsroot]

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.

Contents

Features

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

Exploits

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. Some of these have also been used to execute unsigned code on the PlayStation Portable, as well as run third-party applications on the iPhone and iPod Touch firmware.

Website hijacking

Around January 2004, the original libtiff website (libtiff.org) has been hijacked, after it had disappeared in September 2003 due to ISP problems. The libtiff.org site contains a very outdated mirror of the real site, and much of the information contained therein is incorrect, including the current version number, authors, mailing list address, and the CVS information.

In September 2016, the libtiff maintainers lost control of http://www.remotesensing.org/libtiff/ , which had been the main site since 2003. The official website is currently at http://www.simplesystems.org/libtiff/ .

References

Libtiff Wikipedia