Gentoo Logo

libexif: Buffer overflow vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-17 / libexif
Release Date March 12, 2005
Latest Revision March 12, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libexif < 0.5.12-r1 >= 0.5.12-r1 All supported architectures

Related bugreports: #84076


libexif fails to validate certain inputs, making it vulnerable to buffer overflows.

2.  Impact Information


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


libexif contains a buffer overflow vulnerability in the EXIF tag validation code. When opening an image with a specially crafted EXIF tag, the lack of validation can cause applications linked to libexif to crash.


A specially crafted EXIF file could crash applications making use of libexif, potentially allowing the execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information


There is no known workaround at this time.


All libexif users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libexif-0.5.12-r1"

4.  References


Page updated March 12, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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