Heap-based buffer overflow in libsndfile - CVE-2021-3246
Published: August 1, 2021 / Updated: March 28, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error msadpcm_decode_block() function of libsndfile. A remote attacker can trick the victim to open a specially crafted WAV file, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
SUSE Manager Proxy
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
CentOS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support
SUSE OpenStack Cloud
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
Ubuntu
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
openEuler
Fedora
libsndfile (Debian package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
SUSE Linux Enterprise Module for Packagehub Subpackages
libsndfile
libsndfile-32bit
libsndfile-debuginfo
libsndfile-debugsource
libsndfile-debuginfo-32bit
libsndfile (Red Hat package)
libsndfile1 (Ubuntu package)
sndfile-programs (Ubuntu package)
libsndfile-devel
libsndfile1-32bit-debuginfo
libsndfile1-32bit
libsndfile1-debuginfo
libsndfile1
libsndfile-utils
libsndfile-utils-help
media-libs/libsndfile
How to mitigate CVE-2021-3246
libsndfile (Debian package) - update to 1.0.28-6+deb10u1
libsndfile - update to 1.0.20-2.19.15.1
libsndfile-32bit - update to 1.0.20-2.19.15.1
libsndfile-debuginfo - update to 1.0.20-2.19.15.1
libsndfile-debugsource - addressed in versions 1.0.20-2.19.15.1, 1.0.28-5.12.1
libsndfile-debuginfo-32bit - update to 1.0.20-2.19.15.1
libsndfile (Red Hat package) - addressed in versions 1.0.25-12.el7_9.1, 1.0.28-8.el8_1.1, 1.0.28-10.el8_2.1, 1.0.28-10.el8_4.1
libsndfile1 (Ubuntu package) - addressed in versions 1.0.28-4ubuntu0.18.04.2, 1.0.28-7ubuntu0.1, 1.0.31-1ubuntu1.1, 1.0.2510ubuntu0.16.04.3+esm1
sndfile-programs (Ubuntu package) - addressed in versions 1.0.28-4ubuntu0.18.04.2, 1.0.28-7ubuntu0.1, 1.0.31-1ubuntu1.1, 1.0.2510ubuntu0.16.04.3+esm1
libsndfile-devel - update to 1.0.28-5.12.1
libsndfile1-32bit-debuginfo - update to 1.0.28-5.12.1
libsndfile1-32bit - update to 1.0.28-5.12.1
libsndfile1-debuginfo - update to 1.0.28-5.12.1
libsndfile1 - update to 1.0.28-5.12.1
libsndfile - update to 1.0.28-10
libsndfile - update to 1.0.28-19
libsndfile-devel - update to 1.0.28-19
libsndfile-debuginfo - update to 1.0.28-19
libsndfile-utils - update to 1.0.28-19
libsndfile-debugsource - update to 1.0.28-19
libsndfile-utils-help - update to 1.0.28-19
libsndfile - addressed in versions 1.0.31-5.fc33.fc33, 1.0.31-5.fc34.fc34
media-libs/libsndfile - update to 1.1.0
External References
Related Security Bulletins
- Remote code execution in libsndfile
- Debian update for libsndfile
- SUSE Linux Enterprise Server update for libsndfile
- Red Hat Enterprise Linux 8.1 update for libsndfile
- Red Hat Enterprise Linux 8.2 update for libsndfile
- CentOS 7 update for libsndfile
- Red Hat Enterprise Linux 7 update for libsndfile
- SUSE update for libsndfile
- SUSE update for libsndfile
- Ubuntu update for libsndfile
- Ubuntu update for libsndfile
- Red Hat Enterprise Linux 8 update for libsndfile
- Gentoo update for libsndfile
- openEuler update for libsndfile
- Fedora 34 update for libsndfile
- Fedora 33 update for libsndfile
- Anolis OS update for libsndfile (Anolis OS 8.4)
- Anolis OS update for libsndfile (Anolis OS 8.2)