CVE-2026-116725
CVE-2026-116725 · gbsplay through 0.0.103 Out-of-Bounds Read via mapper_map ROM Bank Index
This page contains facts from public vulnerability sources. Check the original advisory before updating.
gbsplay through 0.0.103 contains an out-of-bounds read vulnerability in mapper_map() in mapper.c that fails to reject ROM bank indexes beyond the ROM size, causing an underflowed bank length. Attackers can supply crafted .gbr, .gbs or .gb files with malicious bank indexes to make bank_get() read far past the heap ROM buffer and crash the player.
CVSS 6.8 · Medium · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
gbsplay
- Versions
- ≥ 0, ≤ 0.0.103: Affected (custom)
No fix published
gbsplay Ubuntu:16.04:LTS
- Versions
- 0.0.91-1
- 0.0.93-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gbsplay Ubuntu:18.04:LTS
- Versions
- 0.0.93-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gbsplay Ubuntu:20.04:LTS
- Versions
- 0.0.93-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gbsplay Ubuntu:22.04:LTS
- Versions
- 0.0.94-2
- 0.0.94+git20210915-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gbsplay Ubuntu:24.04:LTS
- Versions
- 0.0.94+git20210915-1
- 0.0.96-1
- 0.0.96-1build1
- 0.0.96-1build2
- 0.0.96-1build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gbsplay Ubuntu:26.10
- Versions
- 0.0.102-1
- 0.0.102-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gbsplay Ubuntu:26.04:LTS
- Versions
- 0.0.99-1
- 0.0.99-2
- 0.0.102-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/mmitch/gbsplay/issues/201
- https://github.com/mmitch/gbsplay
- https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a
- https://github.com/mmitch/gbsplay/blob/0.0.103/mapper.c#L71-L103
- https://hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read
- https://www.vulncheck.com/advisories/gbsplay-through-0.0.103-out-of-bounds-read-via-mapper-map-rom-bank-index
- https://nvd.nist.gov/vuln/detail/CVE-2026-116725