
CVE catalog
CVE-2021-4156
libsndfile: CVE-2021-4156
- Severity
- High · CVSS 7.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.75% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libsndfile | sid | 1.2.2-4 | fixed |
| Debian | libsndfile | forky | 1.2.2-4 | fixed |
| Debian | libsndfile | trixie | 1.2.2-2+deb13u1 | fixed |
| Debian | libsndfile | bookworm | 1.2.0-1+deb12u1 | fixed |
| Ubuntu | libsndfile | pro | 1.0.25-9.1 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.25-10 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.25-10ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.25-10ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.25-10ubuntu0.16.04.3 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.25-10ubuntu0.16.04.3+esm1 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.25-10ubuntu0.16.04.3+esm2 | fixed |
| Ubuntu | libsndfile | pro | 1.0.28-4 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.28-4ubuntu0.18.04.1 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.28-4ubuntu0.18.04.2 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.28-4ubuntu0.18.04.2+esm1 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.28-4ubuntu0.18.04.2+esm2 | fixed |
| Ubuntu | libsndfile | 20.04 | 1.0.28-6 | vulnerable |
| Ubuntu | libsndfile | 20.04 | 1.0.28-7 | vulnerable |
| Ubuntu | libsndfile | 20.04 | 1.0.28-7ubuntu0.1 | vulnerable |
| Ubuntu | libsndfile | 20.04 | 1.0.28-7ubuntu0.2 | vulnerable |
| Ubuntu | libsndfile | 20.04 | 1.0.28-7ubuntu0.3 | fixed |
| Ubuntu | libsndfile | 22.04 | 1.0.31-2 | vulnerable |
| Ubuntu | libsndfile | 22.04 | 1.0.31-2build1 | vulnerable |
| Ubuntu | libsndfile | 22.04 | 1.0.31-2ubuntu0.1 | vulnerable |
| Ubuntu | libsndfile | 22.04 | 1.0.31-2ubuntu0.2 | fixed |
| Ubuntu | libsndfile | pro | 1.0.28-4 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.28-4ubuntu0.18.04.1 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.28-4ubuntu0.18.04.2 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.28-4ubuntu0.18.04.2+esm1 | vulnerable |
| Ubuntu | libsndfile | pro | 1.0.28-4ubuntu0.18.04.2+esm2 | fixed |
| Ubuntu | libsndfile | 20.04 | 1.0.28-6 | vulnerable |
| Ubuntu | libsndfile | 20.04 | 1.0.28-7 | vulnerable |
| Ubuntu | libsndfile | 20.04 | 1.0.28-7ubuntu0.1 | vulnerable |
| Ubuntu | libsndfile | 20.04 | 1.0.28-7ubuntu0.2 | vulnerable |
| Ubuntu | libsndfile | 20.04 | 1.0.28-7ubuntu0.3 | fixed |
| Ubuntu | libsndfile | 22.04 | 1.0.31-2 | vulnerable |
| Ubuntu | libsndfile | 22.04 | 1.0.31-2build1 | vulnerable |
| Ubuntu | libsndfile | 22.04 | 1.0.31-2ubuntu0.1 | vulnerable |
| Ubuntu | libsndfile | 22.04 | 1.0.31-2ubuntu0.2 | fixed |
| Suse | libsndfile | linux enterprise point of sale 11 sp3 | 1.0.20-2.19.18.1 | fixed |
| Suse | libsndfile | linux enterprise server 11 sp4-ltss | 1.0.20-2.19.18.1 | fixed |
| Opensuse | libsndfile | leap 15.3 | 1.0.28-5.15.1 | fixed |
| Opensuse | libsndfile-progs | leap 15.3 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise module for basesystem 15 sp3 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise module for package hub 15 sp3 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise high performance computing 15-espos | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise high performance computing 15-ltss | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise high performance computing 15 sp1-espos | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise high performance computing 15 sp1-ltss | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise high performance computing 15 sp2-espos | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise high performance computing 15 sp2-ltss | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise server 15-ltss | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise server 15 sp1-bcl | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise server 15 sp1-ltss | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise server 15 sp2-bcl | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise server 15 sp2-ltss | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise server for sap applications 15 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise server for sap applications 15 sp1 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | linux enterprise server for sap applications 15 sp2 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | manager proxy 4.1 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | manager retail branch server 4.1 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | manager server 4.1 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | enterprise storage 6 | 1.0.28-5.15.1 | fixed |
| Suse | libsndfile | enterprise storage 7 | 1.0.28-5.15.1 | fixed |
| Opensuse | libsndfile | tumbleweed | 1.0.31-3.1 | fixed |
| Suse | libsndfile | hpe helion openstack 8 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | openstack cloud 8 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | openstack cloud 9 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | openstack cloud crowbar 8 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | openstack cloud crowbar 9 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise server for sap applications 12 sp3 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise server for sap applications 12 sp4 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise software development kit 12 sp5 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise server 12 sp2-bcl | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise server 12 sp3-ltss | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise server 12 sp3-bcl | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise server 12 sp4-ltss | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise server 12 sp5 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise server for sap applications 12 sp5 | 1.0.25-36.26.1 | fixed |
| Suse | libsndfile | linux enterprise real time 15 sp2 | 1.0.28-5.15.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libsndfile | source | sid | 1.1.0-1 | not yet assigned | Not reported | [1014713] |
| Debian | libsndfile | source | forky | 1.1.0-1 | not yet assigned | Not reported | [1014713] |
| Debian | libsndfile | source | trixie | 1.1.0-1 | not yet assigned | Not reported | [1014713] |
| Debian | libsndfile | source | bookworm | 1.1.0-1 | not yet assigned | Not reported | [1014713] |
| Ubuntu | libsndfile | deb | pro | 1.0.25-10ubuntu0.16.04.3+esm2 | Not reported | USN-5409-1 | Not reported |
| Ubuntu | libsndfile | deb | pro | 1.0.28-4ubuntu0.18.04.2+esm2 | Not reported | UBUNTU-CVE-2021-4156 | Not reported |
| Ubuntu | libsndfile | deb | 20.04 | 1.0.28-7ubuntu0.3 | Not reported | UBUNTU-CVE-2021-4156 | Not reported |
| Ubuntu | libsndfile | deb | 22.04 | 1.0.31-2ubuntu0.2 | Not reported | UBUNTU-CVE-2021-4156 | Not reported |
| Ubuntu | libsndfile | deb | pro | 1.0.28-4ubuntu0.18.04.2+esm2 | Not reported | USN-7273-1 | Not reported |
| Ubuntu | libsndfile | deb | 20.04 | 1.0.28-7ubuntu0.3 | Not reported | USN-7273-1 | Not reported |
| Ubuntu | libsndfile | deb | 22.04 | 1.0.31-2ubuntu0.2 | Not reported | USN-7273-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise point of sale 11 sp3 | 1.0.20-2.19.18.1 | Not reported | SUSE-SU-2022:14872-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 11 sp4-ltss | 1.0.20-2.19.18.1 | Not reported | SUSE-SU-2022:14872-1 | Not reported |
| Opensuse | libsndfile | rpm | leap 15.3 | 1.0.28-5.15.1 | Not reported | OPENSUSE-SU-2022:0052-1 | Not reported |
| Opensuse | libsndfile-progs | rpm | leap 15.3 | 1.0.28-5.15.1 | Not reported | OPENSUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise module for basesystem 15 sp3 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise module for package hub 15 sp3 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise high performance computing 15-espos | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise high performance computing 15-ltss | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise high performance computing 15 sp1-espos | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise high performance computing 15 sp1-ltss | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise high performance computing 15 sp2-espos | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise high performance computing 15 sp2-ltss | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 15-ltss | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 15 sp1-bcl | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 15 sp1-ltss | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 15 sp2-bcl | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 15 sp2-ltss | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server for sap applications 15 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server for sap applications 15 sp1 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server for sap applications 15 sp2 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | manager proxy 4.1 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | manager retail branch server 4.1 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | manager server 4.1 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | enterprise storage 6 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Suse | libsndfile | rpm | enterprise storage 7 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-1 | Not reported |
| Opensuse | libsndfile | rpm | tumbleweed | 1.0.31-3.1 | Not reported | OPENSUSE-SU-2024:11705-1 | Not reported |
| Suse | libsndfile | rpm | hpe helion openstack 8 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | openstack cloud 8 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | openstack cloud 9 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | openstack cloud crowbar 8 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | openstack cloud crowbar 9 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server for sap applications 12 sp3 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server for sap applications 12 sp4 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise software development kit 12 sp5 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 12 sp2-bcl | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 12 sp3-ltss | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 12 sp3-bcl | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 12 sp4-ltss | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server 12 sp5 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise server for sap applications 12 sp5 | 1.0.25-36.26.1 | Not reported | SUSE-SU-2022:0034-1 | Not reported |
| Suse | libsndfile | rpm | linux enterprise real time 15 sp2 | 1.0.28-5.15.1 | Not reported | SUSE-SU-2022:0052-2 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [libsndfile1]Unknown
Source package: [libsndfile]
Details (1)
1.2.2-5.3· x86_64 · tumbleweedUnknown · Fixed:
1.0.31-3.1Version impact unknown
dsa · libsndfile · opensuse · tumbleweed
- [libsndfile1-32bit]Unknown
Source package: [libsndfile]
Details (1)
1.2.2-5.3· x86_64 · tumbleweedUnknown · Fixed:
1.0.31-3.1Version impact unknown
dsa · libsndfile · opensuse · tumbleweed
- [libsndfile-devel]Unknown
Source package: [libsndfile]
Details (1)
1.2.2-5.3· x86_64 · tumbleweedUnknown · Fixed:
1.0.31-3.1Version impact unknown
dsa · libsndfile · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libsndfile1]Fixed
Source package: [libsndfile]
Details (2)
1.2.0-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12
1.2.0-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12
- [libsndfile1-dev]Fixed
Source package: [libsndfile]
Details (2)
1.2.0-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12
1.2.0-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12
- [sndfile-programs]Fixed
Source package: [libsndfile]
Details (2)
1.2.0-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12
1.2.0-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12
[Debian 13 (Trixie)]
- [libsndfile1]Fixed
Source package: [libsndfile]
Details (2)
1.2.2-2+deb13u1· amd64 · trixieFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · 13
1.2.2-2+deb13u1· arm64 · trixieFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · 13
- [libsndfile1-dev]Fixed
Source package: [libsndfile]
Details (2)
1.2.2-2+deb13u1· amd64 · trixieFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · 13
1.2.2-2+deb13u1· arm64 · trixieFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · 13
- [sndfile-programs]Fixed
Source package: [libsndfile]
Details (2)
1.2.2-2+deb13u1· amd64 · trixieFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · 13
1.2.2-2+deb13u1· arm64 · trixieFixed · Fixed:
1.1.0-1dsa · libsndfile · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_1968.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-4156]
- [https://osv.dev/vulnerability/DLA-3126-1]
- [https://osv.dev/vulnerability/DLA-4402-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:0034-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:0052-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:0052-2]
- [https://osv.dev/vulnerability/SUSE-SU-2022:14872-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-4156]
- [https://osv.dev/vulnerability/USN-5409-1]
- [https://osv.dev/vulnerability/USN-7273-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2022:0052-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11705-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-4156]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-4156.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0497.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]