Skip to content
OpenAdvisories
Unscored CVE-2021-4156 EUVD-2021-34024GHSA-vvgm-gfhp-rj9x

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 (…

Published Mar 23, 2022 · Updated Dec 11, 2025 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— libsndfile libsndfile 1.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsndfile 1.1.0-1 —
Debian 13 libsndfile 1.1.0-1 —
Debian 12 libsndfile 1.1.0-1 —
Debian 11 libsndfile 1.0.31-2+deb11u2 DLA-4402-1
Debian 10 libsndfile 1.0.28-6+deb10u2 DLA-3126-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 libsndfile 1.0.27-3+deb9u3 DLA-3058-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libsndfile 1.0.31-2ubuntu0.2 USN-7273-1
Ubuntu 20.04 LTS libsndfile 1.0.28-7ubuntu0.3 USN-7273-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libsndfile 1.0.28-4ubuntu0.18.04.2+esm2 USN-7273-1
Ubuntu Pro 16.04 LTS libsndfile 1.0.25-10ubuntu0.16.04.3+esm2 USN-5409-1
Ubuntu Pro 14.04 LTS libsndfile 1.0.25-7ubuntu2.2+esm4 USN-7273-1
ReleasePackageFixed inAdvisory
RHEL 8 libsndfile +1 1.0.28-12.el8 RHSA-2022:1968

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libsndfile +1 1.0.28-12.el8 ALSA-2022:1968

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libsndfile 1.0.28-12.el8 RLSA-2022:1968
ReleasePackageFixed inAdvisory
SLES 15 SP3 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLES 15 SP2 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLES 15 SP1 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLES 15 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLES 12 SP5 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
Show 25 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SLES 12 SP3 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SLES 12 SP2 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SLES 11 SP4 libsndfile 1.0.20-2.19.18.1 SUSE-SU-2022:14872-1
SLES for SAP 15 SP2 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLES for SAP 15 SP1 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLES for SAP 15 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLES for SAP 12 SP5 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SLES for SAP 12 SP4 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SLES for SAP 12 SP3 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SLE Real Time 15 SP2 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-2
SLE HPC 15 SP2 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLE HPC 15 SP1 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SLE HPC 15 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SUSE OpenStack Cloud Crowbar 9 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SUSE OpenStack Cloud Crowbar 8 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SUSE OpenStack Cloud 9 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SUSE OpenStack Cloud 8 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SUSE Manager Server 4.1 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SUSE Manager Retail Branch Server 4.1 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SUSE Manager Proxy 4.1 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SUSE Linux Enterprise Point of Sale 11 SP3 libsndfile 1.0.20-2.19.18.1 SUSE-SU-2022:14872-1
SUSE HPE Helion OpenStack 8 libsndfile 1.0.25-36.26.1 SUSE-SU-2022:0034-1
SUSE Enterprise Storage 7 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
SUSE Enterprise Storage 6 libsndfile 1.0.28-5.15.1 SUSE-SU-2022:0052-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libsndfile 1.0.31-3.1 openSUSE-SU-2024:11705-1
openSUSE Leap 15.3 libsndfile +1 1.0.28-5.15.1 openSUSE-SU-2022:0052-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libsndfile +2 1.0.31-6.amzn2023.0.2 ALAS2023-2023-028
Amazon Linux 2 libsndfile +2 1.0.25-12.amzn2.2 ALAS2-2023-1998

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 libsndfile +1 1.0.28-12.el8 ELSA-2022-1968

Advisories 18

References