---
id: CVE-2026-111152
title: >-
  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
summary: >-
  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 a…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-125
vendor: libgme
product: game-music-emu
affected:
  - game-music-emu <= 0.6.5
published: '2026-10-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T18:25:45.343'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-111152'
references:
  - url: 'https://github.com/libgme/game-music-emu'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/libgme/game-music-emu/blob/9e23d10f9fd2a6a2f33b10912dd8dc7153258995/gme/Ay_Emu.cpp#L53-L80
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/libgme/game-music-emu/commit/ae10a8f05479e3c8f80429e7a59759fed06f8c13
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@haind-pwn/libgme-ay-track-table-underflow-oob-read'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/game-music-emu-libgme-through-0.6.5-heap-out-of-bounds-read-via-ay-loader
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00128
epssPercentile: 0.02425
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T16:28:10.386943Z'
ingestedAt: '2026-10-15T19:25:46.415Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
