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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.75% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 77.4% of scored records. A rank, not a probability.
- NVD base score
- 7.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-03-23 00:00Z4 YR AGO
- Last updated
- 2025-12-11 12:06Z10 MO AGO
- Reserved
- 2021-12-22
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-125Out-of-bounds ReadBase
- Data version
- 5.2
- Document digest
- 98b984e0d4beda8daf04564e5cc05153f16a9116d0f6cd1b954b7781b6cbffca
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2027690
- github.comhttps://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab
- github.comhttps://github.com/libsndfile/libsndfile/issues/731
- lists.debian.org[debian-lts-announce] 20220628 [SECURITY] [DLA 3058-1] libsndfile security updatehttps://lists.debian.org/debian-lts-announce/2022/06/msg00020.html
- lists.debian.org[debian-lts-announce] 20220929 [SECURITY] [DLA 3126-1] libsndfile security updatehttps://lists.debian.org/debian-lts-announce/2022/09/msg00036.html
- security.gentoo.orgGLSA-202309-11https://security.gentoo.org/glsa/202309-11
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/12/msg00013.html
07 Fixed in
AlmaLinux 8
- libsndfile Fixed in 1.0.28-12.el8
- libsndfile-devel Fixed in 1.0.28-12.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- lib32-libsndfile Fixed in 1.1.0-1
- libsndfile Fixed in 1.1.0-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- libsndfile Fixed in 1.0.28-12.el8
- libsndfile-devel Fixed in 1.0.28-12.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libsndfile Fixed in 1.1.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libsndfile Fixed in 1.1.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libsndfile Fixed in 1.1.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libsndfile Fixed in 1.0.28-7ubuntu0.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- libsndfile Fixed in 1.0.31-2ubuntu0.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- libsndfile Fixed in 1.0.25-7ubuntu2.2+esm4Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libsndfile Fixed in 1.0.25-10ubuntu0.16.04.3+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- libsndfile Fixed in 1.0.28-4ubuntu0.18.04.2+esm2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.