CVE-2026-116725
gbsplay through 0.0.103 contains an out-of-bounds read …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mmitch/gbsplay
- github.com/mmitch/gbsplay/blob/0.0.103/mapper.c#L71-L103
- github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a
- github.com/mmitch/gbsplay/issues/201
- hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read
- www.vulncheck.com/advisories/gbsplay-through-0.0.103-out-of-bounds-read-via-mapper-map-rom
- hackmd.io/@haindpwn/cve-2026-116725-116726-116727-gbsplay-rom-bank-index-oob-read#Attack-f
- nvd.nist.gov/vuln/detail/CVE-2026-116725
- cve.org/CVERecord?id=CVE-2026-116725
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.