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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
mmitch gbsplay
Default version status: unaffected
0 to ≤ 0.0.103affected
pkg:github/mmitch/gbsplayReferences
- https://github.com/mmitch/gbsplay/issues/201 ↗
- https://github.com/mmitch/gbsplay ↗
- https://github.com/mmitch/gbsplay/commit/33812ed38d84b800b5a17f639ef6625f76290785 ↗
- https://github.com/mmitch/gbsplay/blob/0.0.103/gbs.c#L810-L820 ↗
- https://hackmd.io/@haindpwn/gbsplay-rom-bank-index-oob-read ↗
- https://www.vulncheck.com/advisories/gbsplay-through-0.0.103-heap-out-of-bounds-read-via-gbr-open-gbr-title ↗