Description
Game Music Emu (libgme) through 0.6.5 contains a heap out-of-bounds read vulnerability in the AY loader get_data function caused by an integer underflow in the track-table bounds check. Attackers can supply a crafted ZXAYEMUL file with an oversized track table to read past the file buffer via gme_track_info or gme_start_track, crashing libgme consumers.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
libgme game-music-emu
Default version status: unaffected
0 to ≤ 0.6.5affected
pkg:github/libgme/game-music-emuReferences
- https://hackmd.io/@haind-pwn/libgme-ay-track-table-underflow-oob-read ↗
- https://github.com/libgme/game-music-emu/blob/9e23d10f9fd2a6a2f33b10912dd8dc7153258995/gme/Ay_Emu.cpp#L53-L80 ↗
- https://github.com/libgme/game-music-emu/commit/ae10a8f05479e3c8f80429e7a59759fed06f8c13 ↗
- https://github.com/libgme/game-music-emu ↗
- https://www.vulncheck.com/advisories/game-music-emu-libgme-through-0.6.5-heap-out-of-bounds-read-via-ay-loader ↗