Description
The psf_fwrite function in file_io.c in libsndfile allows attackers to cause a denial of service (divide-by-zero error and application crash) via unspecified vectors related to the headindex variable.
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 ↗Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | libsndfile | 1.0.25-7ubuntu2.1 | USN-2832-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | libsndfile | 1.0.25-25.1 | SUSE-SU-2015:2000-2 |
| SLES 12 | libsndfile | 1.0.25-25.1 | SUSE-SU-2015:2000-1 |
| SLES 11 SP4 | libsndfile | 1.0.20-2.10.2 | SUSE-SU-2015:1979-1 |
| SLES 11 SP3 | libsndfile | 1.0.20-2.10.2 | SUSE-SU-2015:1979-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | libsndfile | 1.0.25-25.1 | SUSE-SU-2015:2000-2 |
| SLES for SAP 12 | libsndfile | 1.0.25-25.1 | SUSE-SU-2015:2000-1 |
| SLES for SAP 11 SP4 | libsndfile | 1.0.20-2.10.2 | SUSE-SU-2015:1979-1 |
| SLES for SAP 11 SP3 | libsndfile | 1.0.20-2.10.2 | SUSE-SU-2015:1979-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libsndfile +1 | 1.0.26-2.4 | openSUSE-SU-2024:10470-1, openSUSE-SU-2024:10148-1 |
Advisories 8
- USN-2832-1 libsndfile vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-928-1 libsndfile - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-356-1 libsndfile - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2015:1979-1 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10148-1 libsndfile-devel-1.0.26-2.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:2000-1 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:2000-2 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10470-1 libsndfile-progs-1.0.26-2.4 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- openSUSE-SU-2015:1995 vendor-advisory
- https://github.com/erikd/libsndfile/issues/92
- [oss-security] 20141224 libsndfile DoS/divide-by-zero mailing-list
- [oss-security] 20151103 Re: libsndfile DoS/divide-by-zero mailing-list
- USN-2832-1 vendor-advisory
- https://github.com/erikd/libsndfile/commit/725c7dbb95bfaf8b4bb7b04820e3a00cceea9ce6
- openSUSE-SU-2015:2119 vendor-advisory