Where
-Infinity
0

Vendor Risk Score

See how libgme compares to other vendors in security performance

View Risk Score →

---------------------------------------------------------------------------- NotCVE Advisory — NotCVE-2026-0016 ----------------------------------------------------------------------------

[-] Summary: An out-of-bounds read in the VGM command interpreter of game-music-emu (libgme), the open-source video game music emulation library, allows an attacker who supplies a crafted .vgm or .vgz file to crash the hosting process or to have adjacent heap memory influence the rendered audio, via a PCM seek command whose offset is never validated. CVSS:3.1 7.1 (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H).

[-] Affected: game-music-emu (libgme) through 0.6.5, and master as of commit fe8da4b. Default builds; no fixed version is verified.

[-] Technical Description: VgmEmuImpl::runcommands() in gme/VgmEmuImpl.cpp handles VGM command 0xE0 (cmdpcmseek) by building an interior pointer straight from file content:

case cmdpcmseek: pcmpos = pcmdata + pos [3] 0x1000000L + pos [2] 0x10000L + pos [1] 0x100L + pos [0]; pos += 4; break;

pcmdata points into the decompressed file buffer, set by a preceding 0x67 (cmddatablock) command. The 32-bit little-endian operand is attacker-controlled and is compared neither against the declared data-block size nor against dataend, so pcmpos can be placed up to 4 GiB past the end of the allocation. The following 0x80-0x8F (cmdpcmdelay) case then executes writepcm( vgmtime, pcmpos++ ), dereferencing the pointer without a bounds check of its own. The reporter's AddressSanitizer log records a SEGV on a read at VgmEmuImpl.cpp:255 in runcommands().

When the computed address is unmapped the read faults and the process terminates; when it is mapped, the byte read becomes part of the decoded audio, so memory adjacent to the file buffer can influence attacker-observable output.

Reachability: the VGM emulator is part of the default build, and the command stream runs during gmestarttrack(), on the file-open path. VLC's modules/demux/gme.c calls gmestarttrack() from its demuxer Open function, and FFmpeg links the library when built with --enable-libgme. No authentication, privileges or configuration change are needed; the file only has to reach a libgme consumer.

Upstream issue #165 reports a related but different overread in the same function (unchecked command argument bytes); it is not this defect.

Weaknesses: CWE-823: Use of Out-of-range Pointer Offset CWE-125: Out-of-bounds Read CAPEC-540: Overread Buffers CAPEC-129: Pointer Manipulation

[-] Credit: Discovered by netspacer1124 (https://github.com/netspacer1124).

[-] Full Details and Updates: https://notcve.org/notcve/NotCVE-2026-0016

[-] Main References: https://github.com/libgme/game-music-emu https://raw.githubusercontent.com/libgme/game-music-emu/0.6.5/gme/VgmEmuImpl.cpp https://github.com/videolan/vlc/blob/master/modules/demux/gme.c

[-] About NotCVE: NotCVE (https://notcve.org) assigns public, timestamped NotCVE IDs to vulnerabilities not acknowledged by vendors. Vendor will not assign a CVE? Request a NotCVE: https://notcve.org/form/ · Contributors: https://notcve.org/hall/

Severity
5.5
Input Validation
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In multiple functions of AccessibilityManagerService.java, there is a possible persistent denial of service due to improper input validation. This could lead to local denial of service with no additional execution privileges needed. User interaction is not needed for exploitation.

First published (updated )
Severity
3.3
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

In updateProvidersWhenServiceRemoved of CredentialManagerService.java, there is a possible way to override settings across users due to a permissions bypass. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.

First published (updated )
Severity
7.7
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

In onChange of BiometricService.java, there is a possible way to enable fingerprint unlock due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203