CVE-2011-2696: Buffer Overflow
An integer overflow, leading to heap-based buffer overflow flaw was found in the way libsndfile, library for reading and writing of sound files, processed certain PARIS Audio Format (PAF) audio files with crafted count of channels in the PAF file header. A remote attacker could provided a specially-crafted PAF audio file, which once opened by a local, unsuspecting user in an application, linked against libsndfile could lead to that particular application crash (denial of service), or, potentially arbitrary code execution with the privileges of the user running the application.
References: [1] https://bugs.gentoo.org/showbug.cgi?id=375125 [2] http://www.securelist.com/en/advisories/45125 [3] http://secunia.com/advisories/45125/ [4] http://www.mega-nerd.com/libsndfile/
Relevant upstream patch (from Bzr log, local copy will be attached later too):
revno: 1610 committer: Erik de Castro Lopo <erikd> branch nick: libsndfile-dev timestamp: Wed 2011-07-06 19:40:05 +1000 message: Fix for Secunia Advisory SA45125, heap overflow in PAF file handler.
Other sources
Integer overflow in libsndfile before 1.0.25 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted PARIS Audio Format (PAF) file that triggers a heap-based buffer overflow.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2011-2696?
CVE-2011-2696 has a high severity rating due to the potential for remote code execution resulting from the heap-based buffer overflow.
How do I fix CVE-2011-2696?
To fix CVE-2011-2696, upgrade libsndfile to version 1.0.24 or later, which addresses this vulnerability.
What versions of libsndfile are affected by CVE-2011-2696?
CVE-2011-2696 affects libsndfile versions before 1.0.24, including all versions from 0.0.8 to 1.0.23.
What could an attacker achieve by exploiting CVE-2011-2696?
An attacker could exploit CVE-2011-2696 to execute arbitrary code on the victim's system, potentially leading to a complete system compromise.
Is there a workaround for CVE-2011-2696 if immediate patching is not possible?
As a temporary workaround for CVE-2011-2696, avoid processing untrusted or malformed PAF audio files until a patch can be applied.