Affected versions
Ubuntu16.04:LTS/gbsplay
- Affected versions
- * || =0.0.91-1 || =0.0.93-1
- Fixed version
- Not reported
Ubuntu18.04:LTS/gbsplay
- Affected versions
- * || =0.0.93-2
- Fixed version
- Not reported
Ubuntu20.04:LTS/gbsplay
- Affected versions
- * || =0.0.93-3
- Fixed version
- Not reported
Ubuntu22.04:LTS/gbsplay
- Affected versions
- * || =0.0.94-2 || =0.0.94+git20210915-1
- Fixed version
- Not reported
Ubuntu24.04:LTS/gbsplay
- Affected versions
- * || =0.0.94+git20210915-1 || =0.0.96-1 || =0.0.96-1build1 || =0.0.96-1build2 || =0.0.96-1build3
- Fixed version
- Not reported
Ubuntu26.04:LTS/gbsplay
- Affected versions
- * || =0.0.99-1 || =0.0.99-2 || =0.0.102-1
- Fixed version
- Not reported
Ubuntu26.10/gbsplay
- Affected versions
- * || =0.0.102-1 || =0.0.102-2
- Fixed version
- Not reported
Description
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.
Links
- https://github.com/cveproject/cvelistv5/tree/main/cves/2026/116xxx/cve-2026-116725.json
- https://github.com/mmitch/gbsplay
- https://github.com/mmitch/gbsplay/blob/0.0.103/mapper.c#l71-l103
- https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a
- https://github.com/mmitch/gbsplay/issues/201
- https://hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read
- https://nvd.nist.gov/vuln/detail/cve-2026-116725
- https://ubuntu.com/security/CVE-2026-116725
- https://www.cve.org/CVERecord?id=CVE-2026-116725
- https://www.vulncheck.com/advisories/gbsplay-through-0.0.103-out-of-bounds-read-via-mapper-map-rom-bank-index

