libTIFF: Multiple buffer overflows

Security Team  Contact Address

Updated July 09, 2006

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200607-03 / tiff
Release Date July 09, 2006
Latest Revision July 09, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/tiff < 3.8.2-r1 >= 3.8.2-r1 All supported architectures

Related bugreports: #135881

Synopsis

libTIFF contains buffer overflows that could result in arbitrary code execution.

2.  Impact Information

Background

libTIFF provides support for reading and manipulating TIFF images.

Description

A buffer overflow has been found in the t2p_write_pdf_string function in tiff2pdf, which can been triggered with a TIFF file containing a DocumentName tag with UTF-8 characters. An additional buffer overflow has been found in the handling of the parameters in tiffsplit.

Impact

A remote attacker could entice a user to load a specially crafted TIFF file, resulting in the possible execution of arbitrary code.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All libTIFF users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/tiff-3.8.2-r1"

4.  References