Description
A heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary code via a crafted WAV file.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libsndfile | 1.0.31-2 | — |
| Debian 13 | libsndfile | 1.0.31-2 | — |
| Debian 12 | libsndfile | 1.0.31-2 | — |
| Debian 10 | libsndfile | 1.0.28-6+deb10u1 | DSA-4947-1 |
| Debian 9 | libsndfile | 1.0.27-3+deb9u2 | DLA-2722-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libsndfile | 1.0.28-7ubuntu0.1 | USN-5025-1 |
| Ubuntu 18.04 LTS | libsndfile | 1.0.28-4ubuntu0.18.04.2 | USN-5025-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libsndfile | 1.0.25-10ubuntu0.16.04.3+esm1 | USN-5025-2 |
| Ubuntu Pro 14.04 LTS | libsndfile | 1.0.25-7ubuntu2.2+esm2 | USN-5025-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libsndfile +1 | 1.0.28-10.el8_4.1 | RHSA-2021:3253 |
| RHEL 7 | libsndfile +2 | 1.0.25-12.el7_9.1 | RHSA-2021:3295 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.2 EUS | libsndfile +1 | 1.0.28-10.el8_2.1 | RHSA-2021:3298 |
| RHEL 8.1 EUS | libsndfile +1 | 1.0.28-8.el8_1.1 | RHSA-2021:3297 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | libsndfile +1 | 1.0.28-10.el8_4.1 | ALSA-2021:3253 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libsndfile | 1.0.28-10.el8_4.1 | RLSA-2021:3253 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SLES 15 SP2 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SLES 15 SP1 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SLES 15 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SLES 12 SP5 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SLES 12 SP3 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SLES 12 SP2 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SLES 11 SP4 | libsndfile | 1.0.20-2.19.15.1 | SUSE-SU-2021:14769-1 |
| SLES for SAP 15 SP1 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SLES for SAP 15 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SLES for SAP 12 SP5 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SLES for SAP 12 SP4 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SLES for SAP 12 SP3 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SLE HPC 15 SP1 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SLE HPC 15 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SUSE OpenStack Cloud Crowbar 9 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SUSE OpenStack Cloud 9 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SUSE OpenStack Cloud 8 | libsndfile | 1.0.25-36.23.1 | SUSE-SU-2021:2615-1 |
| SUSE Manager Server 4.0 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SUSE Manager Retail Branch Server 4.0 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SUSE Manager Proxy 4.0 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | libsndfile | 1.0.20-2.19.15.1 | SUSE-SU-2021:14769-1 |
| SUSE Enterprise Storage 6 | libsndfile | 1.0.28-5.12.1 | SUSE-SU-2021:2764-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libsndfile | 1.0.31-2.2 | openSUSE-SU-2024:10992-1 |
| openSUSE Leap 15.3 | libsndfile +1 | 1.0.28-5.12.1 | openSUSE-SU-2021:2764-1 |
| openSUSE Leap 15.2 | libsndfile +1 | 1.0.28-lp152.6.3.1 | openSUSE-SU-2021:1166-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libsndfile +2 | 1.0.25-12.amzn2.1 | ALAS2-2021-1713 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libsndfile +1 | 1.0.28-10.el8_4.1 | ELSA-2021-3253 |
| Oracle Linux 7 | libsndfile +2 | 1.0.25-12.el7_9.1 | ELSA-2021-3295 |
Advisories 20
- ALSA-2021:3253 Important: libsndfile security update AlmaLinux Security Advisories · Oct 29, 2026
- USN-5025-2 libsndfile vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2021:3295 Red Hat Security Advisory: libsndfile security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2021:3253 Red Hat Security Advisory: libsndfile security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2021:3297 Red Hat Security Advisory: libsndfile security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2021:3298 Red Hat Security Advisory: libsndfile security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-5025-1 libsndfile vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4947-1 libsndfile - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2722-1 libsndfile - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:3253 Important: libsndfile security update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2021:2615-1 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2764-1 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:14769-1 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1166-1 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:2764-1 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10992-1 libsndfile-devel-1.0.31-2.2 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2023-2522 libsndfile: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Oct 1, 2023
- ALAS2-2021-1713 Important: libsndfile security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 6, 2021
- ELSA-2021-3295 Important: libsndfile security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 30, 2021
- ELSA-2021-3253 Important: libsndfile security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 24, 2021
References
- https://github.com/libsndfile/libsndfile/issues/687
- [debian-lts-announce] 20210729 [SECURITY] [DLA 2722-1] libsndfile security update mailing-list
- DSA-4947 vendor-advisory
- FEDORA-2021-8fef82e363 vendor-advisory
- FEDORA-2021-e2dc109b4c vendor-advisory
- GLSA-202309-11 vendor-advisory