GLSA 201312-14: libsndfile: Arbitrary code execution

Title:libsndfile: Arbitrary code execution
Bugs: #375125


An integer overflow in libsndfile might allow remote attackers to execute arbitrary code or cause a Denial of Service condition.


Libsndfile is a C library for reading and writing files containing sampled sound through one standard library interface.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/libsndfile < 1.0.25 >= 1.0.25 All supported architectures


An integer overflow flaw has been discovered in Libsndfile.


A remote attacker could entice a user to open a specially crafted PAF file using libsndfile, possibly resulting in execution of arbitrary code with the privileges of the process, or a Denial of Service condition.


There is no known workaround at this time.


All libsndfile users should upgrade to the latest version:

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

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since September 12, 2011. It is likely that your system is already no longer affected by this issue.



This GLSA and any updates to it are available for viewing at the Gentoo Security Website:


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 or alternatively, you may file a bug at


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!