Description
In libsndfile before 1.0.28, an error in the "header_read()" function (common.c) when handling ID3 tags can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC 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.27-2 | — |
| Debian 13 | libsndfile | 1.0.27-2 | — |
| Debian 12 | libsndfile | 1.0.27-2 | — |
| Debian 7 | libsndfile | 1.0.25-9.1+deb7u1 | DLA-928-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libsndfile | 1.0.25-10ubuntu0.16.04.1 | USN-3306-1 |
| Ubuntu 14.04 LTS | libsndfile | 1.0.25-7ubuntu2.2 | USN-3306-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | libsndfile | 1.0.25-28.1 | SUSE-SU-2017:1040-1 |
| SLES 12 SP1 | libsndfile | 1.0.25-28.1 | SUSE-SU-2017:1040-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | libsndfile | 1.0.25-28.1 | SUSE-SU-2017:1040-1 |
| SLES for SAP 12 SP1 | libsndfile | 1.0.25-28.1 | SUSE-SU-2017:1040-1 |
Advisories 3
- USN-3306-1 libsndfile vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-928-1 libsndfile - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:1040-1 Security update for libsndfile SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/erikd/libsndfile/commit/708e996c87c5fae77b104ccfeb8f6db784c32074
- http://www.mega-nerd.com/libsndfile/#History
- http://www.mega-nerd.com/libsndfile/NEWS
- GLSA-201707-04 vendor-advisory
- https://github.com/erikd/libsndfile/commit/f457b7b5ecfe91697ed01cfc825772c4d8de1236
- 97522 vdb-entry