Gentoo Logo

libexif: Integer overflow vulnerability

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200706-01 / libexif
Release Date June 05, 2007
Latest Revision June 05, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libexif < 0.6.15 >= 0.6.15 All supported architectures

Related bugreports: #178081

Synopsis

libexif fails to handle Exif (EXchangeable Image File) data inputs, making it vulnerable to an integer overflow.

2.  Impact Information

Background

libexif is a library for parsing, editing and saving Exif data.

Description

Victor Stinner reported an integer overflow in the exif_data_load_data_entry() function from file exif-data.c while handling Exif data.

Impact

An attacker could entice a user to process a file with specially crafted Exif extensions with an application making use of libexif, which will trigger the integer overflow and potentially execute arbitrary code or crash the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All libexif users should upgrade to the latest version. Please note that users upgrading from "<=media-libs/libexif-0.6.13" should also run revdep-rebuild after their upgrade.

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libexif-0.6.15"
# revdep-rebuild --library=/usr/lib/libexif.so

4.  References



Print

Page updated June 05, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.