CVE-2026-116725 Details
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.
A memory-safety vulnerability has been identified in gbsplay versions through 0.0.103. The issue resides in the bank mapper, specifically within the 'mapper_map' function of 'mapper.c'. This vulnerability allows for an out-of-bounds read by failing to properly validate ROM bank indexes, enabling crafted Game Boy ROM files to be exploited. The flaw causes a buffer underflow, leading to a crash when the player attempts to access memory beyond the allocated heap buffer.
Users can update to gbsplay version 0.0.104 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 26, 2026CISA-ADP
Assessed Nov 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hackmd.io/@haindpwn/cve-2026-116725-116726-116727-gbsplay-rom-bank-index-oob-read#Attack-flow | CISA-ADP | |
| https://github.com/mmitch/gbsplay | [email protected] | Vendor |
| https://github.com/mmitch/gbsplay/blob/0.0.103/mapper.c#L71-L103 | [email protected] | Source CodeVendor |
| https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a | [email protected] | Source CodeVendor |
| https://github.com/mmitch/gbsplay/issues/201 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read | [email protected] | BundleExploitRemedyTechnical Analysis |
| https://www.vulncheck.com/advisories/gbsplay-through-0.0.103-out-of-bounds-read-via-mapper-map-rom-bank-index | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gbsplay | <= 0.0.103 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 2, 2026 | CVE Modified | CISA-ADP |
| Oct 26, 2026 | New CVE Received | [email protected] |
Volerion