Gentoo Logo

libsndfile: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200904-16 / libsndfile
Release Date April 17, 2009
Latest Revision April 17, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libsndfile < 1.0.19 >= 1.0.19 All supported architectures

Related bugreports: #261173


A buffer overflow vulnerability in libsndfile might allow remote attackers to execute arbitrary code.

2.  Impact Information


libsndfile is a C library for reading and writing files containing sampled sound.


Alin Rad Pop from Secunia Research reported an integer overflow when processing CAF description chunks, leading to a heap-based buffer overflow.


A remote attacker could entice a user to open a specially crafted CAF file, resulting in the remote 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 libsndfile users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated April 17, 2009

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.