Description
ValleyBell libvgm through commit a6eed945 contains a heap out-of-bounds read vulnerability in the PCM data-block decompressor caused by an unbounded compression-table index. Attackers can supply a crafted .vgm file with a small type 0x7F table and wider compressed values, causing DecompressDataBlk to over-read heap memory and crash consumers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ValleyBell | libvgm | — | — |
References
- https://hackmd.io/@haind-pwn/libvgm-pcm-compression-table-oob-read technical-description exploit
- https://github.com/ValleyBell/libvgm/blob/a6eed945ecf4e5a25cf82004779c6f7e4fd5c319/player/dblk_compr.c#L727-L751 technical-description
- https://github.com/ValleyBell/libvgm/blob/a6eed945ecf4e5a25cf82004779c6f7e4fd5c319/player/dblk_compr.c#L183-L190 technical-description
- https://github.com/ValleyBell/libvgm product
- VulnCheck Advisory: ValleyBell libvgm through commit a6eed945 Heap Out-of-Bounds Read via DecompressDataBlk third-party-advisory