tiff: New overflows in image decoding — GLSA 200501-06

An integer overflow has been found in the TIFF library image decoding routines and the tiffdump utility, potentially allowing arbitrary code execution.

Affected Packages

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

Background

The TIFF library contains encoding and decoding routines for the Tag Image File Format. It is called by numerous programs, including GNOME and KDE applications, to interpret TIFF images.

Description

infamous41md found a potential integer overflow in the directory entry count routines of the TIFF library (CAN-2004-1308). Dmitry V. Levin found another similar issue in the tiffdump utility (CAN-2004-1183).

Impact

A remote attacker could entice a user to view a carefully crafted TIFF image file, which would potentially lead to execution of arbitrary code with the rights of the user viewing the image. This affects any program that makes use of the TIFF library, including many web browsers or mail readers.

Workaround

There is no known workaround at this time.

Resolution

All TIFF library users should upgrade to the latest version:

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

References

Release Date
January 05, 2005

Latest Revision
January 05, 2005: 01

Severity
normal

Exploitable
remote

Bugzilla entries