GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Tue Jun 26, 2007 10:26 pm Post subject: [ GLSA 200706-09 ] libexif: Buffer overflow |
|
|
Gentoo Linux Security Advisory
Title: libexif: Buffer overflow (GLSA 200706-09)
Severity: normal
Exploitable: remote
Date: June 26, 2007
Bug(s): #181922
ID: 200706-09
Synopsis
libexif does not properly handle image EXIF information, possibly allowing for the execution of arbitrary code.
Background
libexif is a library for parsing, editing and saving EXIF metadata from images.
Affected Packages
Package: media-libs/libexif
Vulnerable: < 0.6.16
Unaffected: >= 0.6.16
Architectures: All supported architectures
Description
iDefense Labs have discovered that the exif_data_load_data_entry() function in libexif/exif-data.c improperly handles integer data while working with an image with many EXIF components, allowing an integer overflow possibly leading to a heap-based buffer overflow.
Impact
An attacker could entice a user of an application making use of a vulnerable version of libexif to load a specially crafted image file, possibly resulting in a crash of the application or the execution of arbitrary code with the rights of the user running the application.
Workaround
There is no known workaround at this time.
Resolution
All libexif users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libexif-0.6.16" |
References
CVE-2006-4168 |
|