Description
Game Music Emu (libgme) through 0.6.5 contains a global out-of-bounds read vulnerability in Classic_Emu::mute_voices_ that allows attackers to crash applications by supplying NSF files whose voice count exceeds the 16-entry voice-type table. Attackers can craft an NSF header with chip_flags 0x3F, opened through gme_open_data or gme_open_file, to read past the static array during loading and cause denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libgme | game-music-emu | ≤ 0.6.5 | — |
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 | game-music-emu | No fix yet | — |
| Debian 13 | game-music-emu | No fix yet | — |
| Debian 12 | game-music-emu | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | game-music-emu | No fix yet | — |
| Ubuntu 26.04 LTS | game-music-emu | No fix yet | — |
| Ubuntu 24.04 LTS | game-music-emu | No fix yet | — |
| Ubuntu 22.04 LTS | game-music-emu | No fix yet | — |
| Ubuntu 20.04 LTS | game-music-emu | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | game-music-emu | No fix yet | — |
| Ubuntu Pro 16.04 LTS | game-music-emu | No fix yet | — |
| Ubuntu Pro 14.04 LTS | game-music-emu | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/libgme-ay-track-table-underflow-oob-read technical-description exploit
- https://github.com/libgme/game-music-emu/blob/9e23d10f9fd2a6a2f33b10912dd8dc7153258995/gme/Nsf_Emu.cpp#L212-L218 technical-description
- https://github.com/libgme/game-music-emu/blob/9e23d10f9fd2a6a2f33b10912dd8dc7153258995/gme/Classic_Emu.cpp#L66-L80 technical-description
- https://github.com/libgme/game-music-emu/issues/164 issue-tracking
- https://github.com/libgme/game-music-emu product
- VulnCheck Advisory: Game Music Emu (libgme) through 0.6.5 Out-of-Bounds Read via Classic_Emu::mute_voices_ third-party-advisory