Description
Heap-based buffer overflow in the Expand3To4Module::run function in libaudiofile/modules/SimpleModule.h in Audio File Library (aka audiofile) 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0 allows remote attackers to cause a denial of service (crash) via a crafted 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 | audiofile | 0.3.6-4 | — |
| Debian 13 | audiofile | 0.3.6-4 | — |
| Debian 12 | audiofile | 0.3.6-4 | — |
| Debian 8 | audiofile | 0.3.6-2+deb8u2 | DSA-3814-1 |
| Debian 7 | audiofile | 0.3.4-2+deb7u1 | DLA-867-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | audiofile | 0.3.6-2ubuntu0.16.04.1 | — |
| Ubuntu 14.04 LTS | audiofile | 0.3.6-2ubuntu0.14.04.2 | USN-3241-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | audiofile | 0.3.6-10.1 | SUSE-SU-2017:0940-1 |
| SLES 12 SP1 | audiofile | 0.3.6-10.1 | SUSE-SU-2017:0940-1 |
| SLES 11 SP4 | audiofile | 0.2.6-142.17.1 | SUSE-SU-2017:1182-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | audiofile | 0.3.6-10.1 | SUSE-SU-2017:0940-1 |
| SLES for SAP 12 SP1 | audiofile | 0.3.6-10.1 | SUSE-SU-2017:0940-1 |
| SLES for SAP 11 SP4 | audiofile | 0.2.6-142.17.1 | SUSE-SU-2017:1182-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | audiofile +1 | 1:0.3.6-9.amzn2 | ALAS2-2024-2601 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | audiofile | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | audiofile | No fix yet | — |
Advisories 6
- USN-3241-1 audiofile vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-867-1 audiofile - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3814-1 audiofile - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:0940-1 Security update for audiofile SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1182-1 Security update for audiofile SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2024-2601 Important: audiofile security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 1, 2024
References
- https://github.com/mpruett/audiofile/pull/42
- https://github.com/mpruett/audiofile/issues/40
- DSA-3814 vendor-advisory
- [oss-security] 20170313 Re: audiofile: heap-based buffer overflow in Expand3To4Module::run (SimpleModule.h) mailing-list
- https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-expand3to4modulerun-simplemodule-h/