Description
Gbsplay through 0.0.103 contains a heap out-of-bounds read vulnerability in gbr_open() in gbs.c that fails to verify file length before scanning the GBR ROM title field. Attackers can supply a crafted GBR file of 0x21 to 0x162 bytes to read past the heap buffer, crashing gbsplay or leaking memory.
Severity (CVSS)
| Base score | 4.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-125 — Out-of-bounds Read
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mmitch | gbsplay | 0 to <=0.0.103 [affected] |
References
- https://github.com/mmitch/gbsplay/issues/201 (issue-tracking)
- https://github.com/mmitch/gbsplay (product)
- https://github.com/mmitch/gbsplay/commit/33812ed38d84b800b5a17f639ef6625f76290785 (patch)
- https://github.com/mmitch/gbsplay/blob/0.0.103/gbs.c#L810-L820 (technical-description)
- https://hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read (third-party-advisory)
- https://www.vulncheck.com/advisories/gbsplay-through-0.0.103-heap-out-of-bounds-read-via-gbr-open-gbr-title (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Oct 2026 07:01 UTC.