libTIFF: Buffer overflow — GLSA 200505-07

The libTIFF library is vulnerable to a buffer overflow, potentially resulting in the execution of arbitrary code.

Affected packages

media-libs/tiff on all architectures
Affected versions < 3.7.2
Unaffected versions >= 3.7.2

Background

libTIFF provides support for reading and manipulating TIFF (Tag Image File Format) images.

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team discovered a stack based buffer overflow in the libTIFF library when reading a TIFF image with a malformed BitsPerSample tag.

Impact

Successful exploitation would require the victim to open a specially crafted TIFF image, resulting in the execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All libTIFF users should upgrade to the latest version:

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

References

Release date
May 10, 2005

Latest revision
May 22, 2006: 02

Severity
normal

Exploitable
remote

Bugzilla entries