CVE-2026-116727medium4.8
gbsplay through 0.0.103 Heap Out-of-Bounds Read via vgm_open in gbs.c
Impact
gbsplay through 0.0.103 contains a heap out-of-bounds read vulnerability in vgm_open() in gbs.c that walks the VGM command stream without bounds checks. Attackers can supply a crafted VGM file with wait opcodes and no 0x66 terminator to read past the heap buffer and crash the player.
Source excerpt · VulnCheckAffected packages
This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
mmitch · gbsplay
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 through 0.0.103 (inclusive) | affected |
Original source description
gbsplay through 0.0.103 contains a heap out-of-bounds read vulnerability in vgm_open() in gbs.c that walks the VGM command stream without bounds checks. Attackers can supply a crafted VGM file with wait opcodes and no 0x66 terminator to read past the heap buffer and crash the player.
References
- Source reference github.com/mmitch/gbsplay/issues/201
- Source reference github.com/mmitch/gbsplay
- Patch github.com/mmitch/gbsplay/commit/91b1f6df0abd3914f91caa528ec3213d731999e8
- Source reference github.com/mmitch/gbsplay/blob/0.0.103/gbs.c
- Source reference hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read
- Security advisory www.vulncheck.com/advisories/gbsplay-through-0.0.103-heap-out-of-bounds-read-via-vgm-open-in-gbs-c