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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mmitch | gbsplay | ≤ 0.0.103 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gbsplay | No fix yet | — |
| Ubuntu 26.04 LTS | gbsplay | No fix yet | — |
| Ubuntu 24.04 LTS | gbsplay | No fix yet | — |
| Ubuntu 22.04 LTS | gbsplay | No fix yet | — |
| Ubuntu 20.04 LTS | gbsplay | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | gbsplay | No fix yet | — |
| Ubuntu 16.04 LTS | gbsplay | No fix yet | — |
References
- GitHub Issue #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
- VulnCheck Advisory: gbsplay through 0.0.103 Heap Out-of-Bounds Read via gbr_open GBR Title third-party-advisory