Gentoo Logo

libsndfile: Buffer overflow

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-04 / libsndfile
Release Date October 07, 2007
Latest Revision October 07, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libsndfile < 1.0.17-r1 >= 1.0.17-r1 All supported architectures

Related bugreports: #192834

Synopsis

A buffer overflow vulnerability has been discovered in libsndfile.

2.  Impact Information

Background

libsndfile is a library for reading and writing various formats of audio files including WAV and FLAC.

Description

Robert Buchholz of the Gentoo Security team discovered that the flac_buffer_copy() function does not correctly handle FLAC streams with variable block sizes which leads to a heap-based buffer overflow (CVE-2007-4974).

Impact

A remote attacker could exploit this vulnerability by enticing a user to open a specially crafted FLAC file or network stream with an application using libsndfile. This might lead to the execution of arbitrary code with privileges of the user playing the file.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All libsndfile users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libsndfile-1.0.17-r1"

4.  References



Print

Page updated October 07, 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.