Out-of-bounds Read in Libsndfile Project
CVE-2021-4156
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS 0.018, 78.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libsndfile Project — versions 1.1.10
- Debian Linux — versions 9.0, 10.0
- Libsndfile — versions libsndfile 1.1.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70b… (Patch, Third Party Advisory)
- github.com/libsndfile/libsndfile/issues/731 (Exploit, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20220628 [SECURITY] [DLA 3058-1] libsndfile security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20220929 [SECURITY] [DLA 3126-1] libsndfile security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-202309-11 (vendor-advisory)
- lists.debian.org/debian-lts-announce/2025/12/msg00013.html