LibTIFF is a
library
A library is a collection of Book, books, and possibly other Document, materials and Media (communication), media, that is accessible for use by its members and members of allied institutions. Libraries provide physical (hard copies) or electron ...
for reading and writing
Tag Image File Format
Tag Image File Format or Tagged Image File Format, commonly known by the abbreviations TIFF or TIF, is an image file format for storing raster graphics images, popular among graphic artists, the publishing industry, and photographers. TIFF is w ...
(abbreviated TIFF) files. The set also contains
command line
A command-line interface (CLI) is a means of interacting with software via command (computing), commands each formatted as a line of text. Command-line interfaces emerged in the mid-1960s, on computer terminals, as an interactive and more user ...
tools for processing TIFFs. It is distributed in
source code
In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer.
Since a computer, at base, only ...
and can be found as
binary builds for all kinds of platforms. The LibTIFF software was originally written by
Sam Leffler while working for
Silicon Graphics
Silicon Graphics, Inc. (stylized as SiliconGraphics before 1999, later rebranded SGI, historically known as Silicon Graphics Computer Systems or SGCS) was an American high-performance computing manufacturer, producing computer hardware and soft ...
.
Features
Support for
BigTIFF, files larger than 4
GiB
Gib or GIB may refer to:
Places
* Gibraltar, British overseas territory
** Gibraltar International Airport, IATA code GIB
** Gibraltar national football team, FIFA code GIB
* Mount Gibraltar, known as The Gib, New South Wales, Australia
* Gib ...
, was included for LibTIFF 4.0 in 2011.
Tiff tools
As of version 4.6.0 several tools are no longer built by default, as they suffered from lack of maintenance. These tools are still available as source code. The only remaining tools supported are: tiffinfo, tiffdump, tiffcp, tiffset and tiffsplit.
With the release of 4.7.0 all removed tools are restored and built by default again.
Exploits
A
TIFF
Tag Image File Format or Tagged Image File Format, commonly known by the abbreviations TIFF or TIF, is an image file format for storing raster graphics images, popular among graphic artists, the publishing industry, and photographers. TIFF is w ...
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
Code signing is the process of digitally Digital signatures and law, signing executables and scripting language, scripts to confirm the software author and guarantee that the code has not been altered or corrupted since it was signed. The process ...
on the
PlayStation Portable
The PlayStation Portable (PSP) is a handheld game console developed and marketed by Sony Interactive Entertainment, Sony Computer Entertainment. It was first released in Japan on December 12, 2004, in North America on March 24, 2005, and in PA ...
, as well as run third-party applications on the
iPhone
The iPhone is a line of smartphones developed and marketed by Apple that run iOS, the company's own mobile operating system. The first-generation iPhone was announced by then–Apple CEO and co-founder Steve Jobs on January 9, 2007, at ...
and
iPod Touch
The iPod Touch (stylized as iPod touch) is a discontinued line of iOS-based mobile devices designed and formerly marketed by Apple Inc. with a touchscreen-controlled user interface. As with other iPod models, the iPod Touch can be used as a po ...
firmware.
Details of iPhone TIFF exploit posted
MacNN & MNM Media, 2007/10/1
Archived version
/ref>
References
External links
*{{Official website
LibTiff.NET - .NET version of LibTIFF
Graphics libraries
Software using the BSD license