{"id":"UBUNTU-CVE-2026-116725","details":"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.","modified":"2026-10-28T20:17:45.945208388Z","published":"2026-10-26T22:16:00Z","upstream":["CVE-2026-116725"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-116725"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-116725"},{"type":"REPORT","url":"https://github.com/mmitch/gbsplay"},{"type":"REPORT","url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/116xxx/cve-2026-116725.json"},{"type":"REPORT","url":"https://github.com/mmitch/gbsplay/blob/0.0.103/mapper.c#l71-l103"},{"type":"REPORT","url":"https://github.com/mmitch/gbsplay/commit/a281d80bc56ed63347daf740a2f7aa4f8516165a"},{"type":"REPORT","url":"https://github.com/mmitch/gbsplay/issues/201"},{"type":"REPORT","url":"https://hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read"},{"type":"REPORT","url":"https://nvd.nist.gov/vuln/detail/cve-2026-116725"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/gbsplay-through-0.0.103-out-of-bounds-read-via-mapper-map-rom-bank-index"}],"affected":[{"package":{"name":"gbsplay","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gbsplay?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.91-1","0.0.93-1"],"ecosystem_specific":{"binaries":[{"binary_name":"gbsplay","binary_version":"0.0.93-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116725.json"}},{"package":{"name":"gbsplay","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gbsplay?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.93-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0.93-2","binary_name":"gbsplay"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116725.json"}},{"package":{"name":"gbsplay","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gbsplay?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.93-3"],"ecosystem_specific":{"binaries":[{"binary_name":"gbsplay","binary_version":"0.0.93-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116725.json"}},{"package":{"name":"gbsplay","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gbsplay?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.94-2","0.0.94+git20210915-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0.94+git20210915-1","binary_name":"gbsplay"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116725.json"}},{"package":{"name":"gbsplay","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/gbsplay?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.94+git20210915-1","0.0.96-1","0.0.96-1build1","0.0.96-1build2","0.0.96-1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"gbsplay","binary_version":"0.0.96-1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116725.json"}},{"package":{"name":"gbsplay","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/gbsplay?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.102-1","0.0.102-2"],"ecosystem_specific":{"binaries":[{"binary_name":"gbsplay","binary_version":"0.0.102-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116725.json"}},{"package":{"name":"gbsplay","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/gbsplay?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.99-1","0.0.99-2","0.0.102-1"],"ecosystem_specific":{"binaries":[{"binary_name":"gbsplay","binary_version":"0.0.102-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116725.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}