Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a225b734187270b8

Jump to content

// Workers AI · dad joke modeWhy did LibTIFF go to therapy? It was struggling to format its feelings.

From Wikipedia, the free encyclopedia
(Redirected from Libtiff)
LibTIFF
Original authorsSam Leffler,
Silicon Graphics
Release1988; 38 years ago (1988)
Stable release
4.7.2[1] Edit this on Wikidata / 3 July 2026; 25 days ago (3 July 2026)
Written inC
LicenseBSD-like licence
Websitelibtiff.gitlab.io/libtiff/ Edit this at Wikidata
Repository

LibTIFF is a library for reading and writing Tag 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 originally written by Sam Leffler while working for Silicon Graphics.

Features

[edit]

Support for BigTIFF, files larger than 4 GiB, was included for LibTIFF 4.0 in 2011.

Tiff tools

[edit]

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

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

References

[edit]
  1. "libtiff 4.7.2 · libtiff / libtiff · GitLab". Retrieved 4 July 2026.
  2. libTIFF BitsPerSample Tag Buffer Overflow Vulnerability Archived 2010-08-19 at the Wayback Machine Release Date:2005-05-11 - Secunia Advisories
  3. Stack-based buffer overflow in libTIFF before 3.7.2 allows remote attackers to execute arbitrary code via a TIFF file with a malformed BitsPerSample tag. - CVE - CVE-2005-1544 (under review) Assigned (20050514)
  4. libTIFF Multiple Vulnerabilities Archived 2010-03-22 at the Wayback Machine Release Date: 2006-08-02 - Secunia Advisories
  5. Sony PSP TIFF Image Viewing Code Execution Vulnerability Archived 2006-09-04 at the Wayback Machine Release Date: 2006-08-31 - Secunia Advisories
  6. Details of iPhone TIFF exploit posted MacNN & MNM Media, 2007/10/17 Archived version
[edit]