CVE-2026-116725

gbsplay through 0.0.103 Out-of-Bounds Read via mapper_map ROM Bank Index

Published Oct 26, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability lies in the mapper_map function of gbsplay 0.0.103, where ROM bank indexes that exceed the allowable ROM size are not rejected. This leads to an underflowed bank length and allows the bank_get function to read beyond the intended heap buffer. An attacker can supply a malicious .gbr, .gbs, or .gb file with crafted bank indexes to force the player to read far past the ROM buffer, resulting in a crash. Consequently, the primary impact is a denial of service for any user who loads such a file.

Affected Systems

The affected product is gbsplay from mmitch, version 0.0.103. No other versions or vendors are reported as affected.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting limited publicly known exploitation. However, the attack vector requires the user to supply a specially crafted game file, making the vulnerability more relevant to local or potentially remote attacks if the software accepts files over a network. Without an official patch, the risk remains that an attacker can cause a denial of service by using malicious files. While full remote exploitation may be limited, the availability of the vulnerability makes it advisable to handle the file input carefully or update the software.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a newer version of gbsplay that includes bounds checking for ROM bank indexes.
  • Avoid opening untrusted or externally sourced .gbr, .gbs, or .gb files until the software is updated.
  • If unable to update, manually modify the mapper_map function to validate the bank index against the ROM size before accessing the buffer.
  • Consider sandboxing or restricting file permissions for the gbsplay executable to prevent exposure to untrusted files.

Generated by OpenCVE AI on October 27, 2026 at 08:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mmitch
Mmitch gbsplay
Vendors & Products Mmitch
Mmitch gbsplay
Type Values Removed Values Added
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.
Title gbsplay through 0.0.103 Out-of-Bounds Read via mapper_map ROM Bank Index
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 2, 2026, 6:20 PM
Reserved
Oct 26, 2026, 8:23 PM
Status
Deferred
Published
Oct 26, 2026, 10:16 PM
Modified
Nov 2, 2026, 7:17 PM