CVE-2021-4156

libsndfile: libsndfile is a C library for reading and writing files containing sampled sound, such as AIFF, AU, or WAV

CVE-2021-4156 is fixed in 8 products on 1 platform, first by DEBIAN-CVE-2021-4156, released March 23, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
8.1
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0175
78th percentile

libsndfile is a C library for reading and writing files containing sampled sound, such as AIFF, AU, or WAV. Security Fix(es): * libsndfile: heap out-of-bounds read in src/flac.c in flac_buffer_copy (CVE-2021-4156) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Additional Changes: For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.6 Release Notes linked from the References section.

Where it's fixed

ProductFixed inFixReleased
Linux
libsndfile · Debian 11.6 (bullseye) 1.0.31-2+deb11u2 DLA-4402-1 Dec 11, 2025
libsndfile · Debian 12.15 (bookworm) 1.1.0-1 DEBIAN-CVE-2021-4156 Mar 23, 2022
libsndfile · Debian 13.5 (trixie) 1.1.0-1 DEBIAN-CVE-2021-4156 Mar 23, 2022
libsndfile · Debian 14 1.1.0-1 DEBIAN-CVE-2021-4156 Mar 23, 2022
libsndfile · RHEL 8 0:1.0.28-12.el8 RHSA-2022:1968 May 10, 2022
libsndfile · almalinux 8 1.0.28-12.el8 ALSA-2022:1968 May 10, 2022
libsndfile · amzn 2023 1.0.31-6.amzn2023.0.2 ALAS2023-2023-028 Feb 17, 2023
libsndfile · ol 8 0:1.0.28-12.el8 ELSA-2022-1968 May 17, 2022
libsndfile · rocky 8 0:1.0.28-12.el8 RLSA-2022:1968 May 10, 2022
libsndfile-debuginfo · amzn 2023 1.0.31-6.amzn2023.0.2 ALAS2023-2023-028 Feb 17, 2023
libsndfile-debugsource · amzn 2023 1.0.31-6.amzn2023.0.2 ALAS2023-2023-028 Feb 17, 2023
libsndfile-devel · RHEL 8 0:1.0.28-12.el8 RHSA-2022:1968 May 10, 2022
libsndfile-devel · almalinux 8 1.0.28-12.el8 ALSA-2022:1968 May 10, 2022
libsndfile-devel · amzn 2023 1.0.31-6.amzn2023.0.2 ALAS2023-2023-028 Feb 17, 2023
libsndfile-devel · ol 8 0:1.0.28-12.el8 ELSA-2022-1968 May 17, 2022
libsndfile-utils · amzn 2023 1.0.31-6.amzn2023.0.2 ALAS2023-2023-028 Feb 17, 2023
libsndfile-utils-debuginfo · amzn 2023 1.0.31-6.amzn2023.0.2 ALAS2023-2023-028 Feb 17, 2023
libsndfile1 · Ubuntu 18.04.6 LTS (bionic) 1.0.28-4ubuntu0.18.04.2+esm2 libsndfile1 1.0.28-4ubuntu0.18.04.2+esm2 Oct 27, 2024
libsndfile1 · Ubuntu 20.04 LTS (focal) 1.0.28-7ubuntu0.3 libsndfile1 1.0.28-7ubuntu0.3 Oct 27, 2024
libsndfile1 · Ubuntu 22.04.1 LTS (jammy) 1.0.31-2ubuntu0.2 libsndfile1 1.0.31-2ubuntu0.2 Oct 27, 2024
sndfile-programs · Ubuntu 18.04.6 LTS (bionic) 1.0.28-4ubuntu0.18.04.2+esm2 sndfile-programs 1.0.28-4ubuntu0.18.04.2+esm2 Oct 27, 2024
sndfile-programs · Ubuntu 20.04 LTS (focal) 1.0.28-7ubuntu0.3 sndfile-programs 1.0.28-7ubuntu0.3 Oct 27, 2024
sndfile-programs · Ubuntu 22.04.1 LTS (jammy) 1.0.31-2ubuntu0.2 sndfile-programs 1.0.31-2ubuntu0.2 Oct 27, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.