GLSA 200503-17: libexif: Buffer overflow vulnerability

Severity:normal
Title:libexif: Buffer overflow vulnerability
Date:03/12/2005
Bugs: #84076
ID:200503-17

Synopsis

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

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/libexif < 0.5.12-r1 >= 0.5.12-r1 All supported architectures

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All libexif users should upgrade to the latest version:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200503-17.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!