Description
Game Music Emu (libgme) through 0.6.5 contains a heap out-of-bounds read vulnerability in the AY loader get_data function caused by an integer underflow in the track-table bounds check. Attackers can supply a crafted ZXAYEMUL file with an oversized track table to read past the file buffer via gme_track_info or gme_start_track, crashing libgme consumers.
Severity (CVSS)
| Base score | 6.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:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-125 — Out-of-bounds Read
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libgme | game-music-emu | 0 to <=0.6.5 [affected] |
References
- https://hackmd.io/@haind-pwn/libgme-ay-track-table-underflow-oob-read (technical-description exploit)
- https://github.com/libgme/game-music-emu/blob/9e23d10f9fd2a6a2f33b10912dd8dc7153258995/gme/Ay_Emu.cpp#L53-L80 (technical-description)
- https://github.com/libgme/game-music-emu/commit/ae10a8f05479e3c8f80429e7a59759fed06f8c13 (patch)
- https://github.com/libgme/game-music-emu (product)
- https://www.vulncheck.com/advisories/game-music-emu-libgme-through-0.6.5-heap-out-of-bounds-read-via-ay-loader (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 16 Oct 2026 07:00 UTC.