Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111153 Overview
CVE-2026-111153 is an out-of-bounds read vulnerability [CWE-125] in Game Music Emu (libgme) through version 0.6.5. The flaw resides in Classic_Emu::mute_voices_, where the emulator indexes a static 16-entry voice-type table using an attacker-controlled voice count parsed from NSF file headers. A crafted NSF file with chip_flags set to 0x3F causes the loader to read past the static array when opened through gme_open_data or gme_open_file. Successful exploitation crashes the host application, resulting in denial of service for media players, music archivers, and other software that embeds libgme.
Critical Impact
Processing a malicious NSF file in any application that embeds libgme ≤ 0.6.5 triggers an out-of-bounds read that terminates the process.
Affected Products
- Game Music Emu (libgme) through version 0.6.5
- Applications and media players embedding vulnerable libgme builds
- Downstream Linux distribution packages shipping libgme ≤ 0.6.5
Discovery Timeline
- 2026-10-15 - CVE-2026-111153 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111153
Vulnerability Analysis
Game Music Emu is a C++ library that emulates sound hardware from classic game consoles to render chiptune formats such as NSF (Nintendo Sound Format). During NSF loading, Nsf_Emu derives the active voice count from the file's chip_flags header byte and passes it to the base class routine Classic_Emu::mute_voices_.
That routine iterates over the requested voices and dereferences a static table that enumerates valid voice types. The table is sized for 16 entries. The parser never bounds-checks the attacker-supplied voice count against the table length, so a chip_flags value of 0x3F drives the index past the final element and into adjacent global memory.
The result is a read of unmapped or unrelated process memory during file load. In practice this terminates the host process with a segmentation fault, denying service to any application pipeline that relies on libgme to decode untrusted audio content.
Root Cause
The root cause is missing input validation on the voice count derived from the NSF chip_flags header. Classic_Emu::mute_voices_ trusts the caller to supply an index within the bounds of the voice-type table and does not clamp or reject oversized values. Reference the vulnerable source in Classic_Emu.cpp lines 66-80 and the NSF loader path in Nsf_Emu.cpp lines 212-218.
Attack Vector
An attacker crafts an NSF file whose header sets chip_flags to 0x3F, declaring a voice count that exceeds the 16-entry static table. The attacker delivers that file to a victim through any channel that feeds the data into an application built on libgme. When the application calls gme_open_data or gme_open_file, the out-of-bounds read fires during initialization and crashes the process. The attack requires local file processing and user interaction to open or auto-scan the malicious file.
See the VulnCheck advisory for libgme and the related analysis in HackMD for additional detail on the parsing path.
Detection Methods for CVE-2026-111153
Indicators of Compromise
- NSF files whose header chip_flags byte equals 0x3F or otherwise declares a voice count greater than 16.
- Unexpected SIGSEGV crashes in processes linked against libgme.so immediately after opening a media file.
- Crash reports or core dumps referencing Classic_Emu::mute_voices_ or Nsf_Emu::load_ in the call stack.
Detection Strategies
- Inventory installed libgme versions across endpoints and build pipelines and flag any instance at or below 0.6.5.
- Add a file-content inspection rule that parses NSF headers and quarantines samples that declare chip configurations beyond documented bounds.
- Monitor application crash telemetry for repeated terminations tied to audio-decoding threads.
Monitoring Recommendations
- Forward process-termination and core-dump events from endpoints and media servers into a central log pipeline for correlation.
- Alert when the same user or share repeatedly delivers NSF files that produce decoder crashes.
- Track package-management events that install or update libgme to confirm patched versions roll out across the fleet.
How to Mitigate CVE-2026-111153
Immediate Actions Required
- Identify all applications and container images that bundle libgme and prioritize those that process untrusted audio.
- Block or quarantine NSF files received from untrusted sources until vulnerable components are patched.
- Rebuild and redeploy downstream software against a fixed libgme build once available.
Patch Information
At the time of publication, Game Music Emu 0.6.5 and earlier remain vulnerable. Track upstream remediation through GitHub Issue #164 and the Game Music Emu repository. Distribution maintainers should ship patched builds that bound the voice count against the voice-type table length before invoking Classic_Emu::mute_voices_.
Workarounds
- Disable NSF handling in media players and indexing services that embed libgme where the format is not required.
- Run audio-decoding workloads inside sandboxed or containerized processes so a crash does not disrupt the host service.
- Strip or validate NSF headers at an ingress gateway, rejecting files whose declared voice count exceeds 16.
# Configuration example: identify installed libgme versions on Linux hosts
dpkg -l | grep -i libgme
rpm -qa | grep -i libgme
find / -name 'libgme*' -type f 2>/dev/null
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

