High severity · published Mar 23, 2022
CVE-2021-4156
An out-of-bounds read flaw was found in libsndfile's FLAC codec functionality
7.1
CVSS
1.8%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.8% · higher than 78% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
9.0; 10.0 · source: NVD
LI
Libsndfile · Libsndfile Project
1.1.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-4156
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-4156
Exploit
https://bugzilla.redhat.com/show_bug.cgi?id=2027690
Exploit
https://github.com/libsndfile/libsndfile/issues/731
Patch
https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab
Mailing List
https://lists.debian.org/debian-lts-announce/2022/06/msg00020.html
Mailing List
https://lists.debian.org/debian-lts-announce/2022/09/msg00036.html
security.gentoo.org
https://security.gentoo.org/glsa/202309-11
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
