Description
Heap-based buffer overflow in the GetWavHeader function in generic/jkSoundFile.c in the Snack Sound Toolkit, as used in WaveSurfer 1.8.8p4, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large chunk size in a 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 | snack | 2.2.10-dfsg1-12.1 | — |
| Debian 13 | snack | 2.2.10-dfsg1-12.1 | — |
| Debian 12 | snack | 2.2.10-dfsg1-12.1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | snack | 2.2.10-215.2 | openSUSE-SU-2024:11390-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- WaveSurfer 1.8.8p4 - Memory Corruption (PoC) EDB-19772 · dos · Jul 12, 2012 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- openSUSE-SU-2024:11390-1 snack-2.2.10-215.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 49889 third-party-advisory
- 19772 exploit
- GLSA-201309-04 vendor-advisory
- [oss-secuirty] 20131210 CVE-2012-6303 WaveSurfer and Snack Sound Toolkit buffer overflows mailing-list
- openSUSE-SU-2015:0382 vendor-advisory
- MDVSA-2013:126 vendor-advisory