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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116725.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.0.103"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "a281d80bc56ed63347daf740a2f7aa4f8516165a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116725.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "87018834358573366625638833441222162530",
"length": 217
},
"id": "CVE-2026-116725-19d3cec3",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a",
"target": {
"file": "mapper.c",
"function": "bank_put"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "250370410175478577177665602526007675915",
"length": 207
},
"id": "CVE-2026-116725-5e820118",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a",
"target": {
"file": "mapper.c",
"function": "bank_get"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "18035821310122630030331209639379563450",
"length": 960
},
"id": "CVE-2026-116725-5f49ac2f",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a",
"target": {
"file": "mapper.c",
"function": "mapper_gb"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "177873998410109033970619664781041633140",
"length": 529
},
"id": "CVE-2026-116725-60a07d9c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a",
"target": {
"file": "mapper.c",
"function": "mapper_gbs"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "242373552413324701777295678572214305518",
"length": 366
},
"id": "CVE-2026-116725-a33fa5b4",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a",
"target": {
"file": "mapper.c",
"function": "mapper_map"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"294144068059006068734181882910942872617",
"275928702020215074057022466940063807821",
"311815724981717589307922501954102903342",
"66000517991224315799915259629104718147",
"244296210939691360239860658063735920972",
"199904864772600850166995464411375475427",
"299874668023323468349190661603112132697",
"166270858364842208415595004533778790628",
"32074765051825570742353757910667283894",
"201536596271092545563964309328573012359",
"130428463322793214075138088452280514190",
"86678413892359556197405913087126472719",
"70479390033236618512896849542182547890",
"142551960081447363317713669288228661609",
"130428463322793214075138088452280514190",
"89533190395691132542713039188767607605",
"235461141395040616014584831618844998802",
"21654067507620162066155946697171677418",
"12632345137065748313076162014550981544",
"23549460632420804539737444111680959692",
"97836606113530253207833568917339950125",
"123042498265919139098321910960806940264",
"162167050538475187600163973928828005750",
"242492957667479852331761575994218892249",
"125251278544746527533432435537036487496",
"189311480368880698033750370632736161692"
],
"threshold": 0.9
},
"id": "CVE-2026-116725-e8133209",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a",
"target": {
"file": "mapper.c"
}
}
]
"2026-11-04T07:04:29Z"