CVE-2021-4156: Buffer Overflow
An out-of-bounds read flaw was found in libsndfile's FLAC codec functionality. An attacker who is able to submit a specially crafted file (via tricking a user to open or otherwise) to an application linked with libsndfile and using the FLAC codec, could trigger an out-of-bounds read that would most likely cause a crash but could potentially leak memory information that could be used in further exploitation of other flaws.
Other sources
The vulnerability can lead to heap-based buffer overflow via a crafted sound file, and potentially control heap data by forge buffer content to perform heap exploitation.
Upstream Reference:
https://github.com/libsndfile/libsndfile/issues/731
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2021-4156?
CVE-2021-4156 has been classified with a severity that may allow attackers to exploit out-of-bounds read vulnerabilities in applications using the FLAC codec from libsndfile.
How do I fix CVE-2021-4156?
To fix CVE-2021-4156, you should upgrade libsndfile to version 1.1.10 or later.
Which versions of libsndfile are affected by CVE-2021-4156?
CVE-2021-4156 affects libsndfile versions prior to 1.1.10.
What kind of attack can be performed using CVE-2021-4156?
An attacker can exploit CVE-2021-4156 by tricking a user into opening a specially crafted file that triggers an out-of-bounds read.
On which platforms is CVE-2021-4156 a concern?
CVE-2021-4156 is a concern on platforms that use affected versions of libsndfile, including certain Debian distributions and Red Hat.