CVE-2026-116725

Source
https://cve.org/CVERecord?id=CVE-2026-116725
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116725.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-116725
Downstream
Published
2026-10-26T21:52:28Z
Modified
2026-11-04T07:04:29Z
Severity
  • 6.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
gbsplay through 0.0.103 Out-of-Bounds Read via mapper_map ROM Bank Index
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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-125"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116725.json"
}
References

Affected packages

Git / github.com/mmitch/gbsplay

Affected ranges

Type
GIT
Repo
https://github.com/mmitch/gbsplay
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "0.0.103"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "a281d80bc56ed63347daf740a2f7aa4f8516165a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.0.100
0.0.101
0.0.102
0.0.103
0.0.91
0.0.92
0.0.93
0.0.94
0.0.95
0.0.96
0.0.97
0.0.98
0.0.99
0.0.99-alpha-3
0.0.99-alpha-5
Other
BERLIOS_IMPORT
EXPORTED_TO_GIT
git_import
list
v0_0_0+20030823
v0_0_0+20030824
v0_0_0+20030826
v0_0_0+20030830
v0_0_0+20030831
v0_0_1
v0_0_2
v0_0_2+20031030
v0_0_3+20031219
v0_0_3-pre1
v0_0_4
v0_0_4+20040111
v0_0_4-pre1
v0_0_4-pre2
v0_0_5
v0_0_5+20040312
v0_0_6+20040705
v0_0_7
v0_0_8
v0_0_9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116725.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-11-04T07:04:29Z"