---
id: CVE-2026-116725
title: gbsplay through 0.0.103 Out-of-Bounds Read via mapper_map ROM Bank Index
summary: >-
  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 .g…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-125
vendor: mmitch
product: gbsplay
affected:
  - gbsplay <= 0.0.103
published: '2026-10-26'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T21:52:28.842Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-116725'
references:
  - url: 'https://github.com/mmitch/gbsplay/issues/201'
    label: 'GitHub Issue #201'
  - url: 'https://github.com/mmitch/gbsplay'
  - url: >-
      https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a
  - url: 'https://github.com/mmitch/gbsplay/blob/0.0.103/mapper.c#L71-L103'
  - url: 'https://hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read'
  - url: >-
      https://www.vulncheck.com/advisories/gbsplay-through-0.0.103-out-of-bounds-read-via-mapper-map-rom-bank-index
    label: >-
      VulnCheck Advisory: gbsplay through 0.0.103 Out-of-Bounds Read via
      mapper_map ROM Bank Index
tags:
  - cve.org
epss: 0.00136
epssPercentile: 0.03005
ingestedAt: '2026-10-27T16:11:59.117Z'
---

## Overview

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.

## Affected

- `gbsplay <= 0.0.103`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
