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-110876 Overview
CVE-2026-110876 is an out-of-bounds read vulnerability in AdPlug through version 2.4, located in src/xsm.cpp. The flaw allows attackers to read memory before the note_table buffer by supplying a negative note index during XSM file playback. An attacker can craft a malicious XSM file containing the ofTAZ! signature and a song byte value of 0x80 or higher. When a victim opens the file, the player triggers a global-buffer-overflow read that may crash the affected application. The vulnerability is tracked under CWE-125 (Out-of-bounds Read) and requires user interaction to exploit.
Critical Impact
Malicious XSM files can crash AdPlug-based media players through an out-of-bounds read, affecting application availability on the local system.
Affected Products
- AdPlug library versions through 2.4
- Applications and media players that embed the AdPlug library for XSM file playback
- Downstream distributions packaging vulnerable AdPlug releases
Discovery Timeline
- 2026-10-15 - CVE-2026-110876 published to the National Vulnerability Database
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-110876
Vulnerability Analysis
AdPlug is an open-source audio playback library for AdLib (OPL2/OPL3) music file formats. The CxsmPlayer class in src/xsm.cpp handles the XSM format, which identifies itself with the ofTAZ! magic signature. During playback, the player reads a song byte from the file and derives a note index used to look up frequency data in the internal note_table.
The parser does not validate that the derived note index is non-negative before indexing into note_table. When the song byte is 0x80 or higher, the signed interpretation produces a negative index. The resulting pointer arithmetic reads memory located before the start of the global note_table buffer, producing a global-buffer-overflow read detectable by sanitizers such as AddressSanitizer.
Root Cause
The root cause is missing input validation on an attacker-controlled index value derived from untrusted XSM file content. The CxsmPlayer::play_note logic assumes the computed note value falls within the valid range of note_table, but does not enforce a lower bound. This is a classic CWE-125 out-of-bounds read caused by signed-to-unsigned confusion in boundary checking.
Attack Vector
Exploitation requires an attacker to deliver a crafted XSM file to a target running an application that uses AdPlug for playback. The victim must open the file, satisfying the user-interaction requirement. Once parsing reaches the vulnerable code path, the out-of-bounds read occurs during the first playback tick that references the malformed note.
The impact is limited to availability: the read dereferences invalid memory and typically triggers a segmentation fault, crashing the host application. There is no indication the primitive yields code execution or information disclosure to the attacker. For technical analysis, refer to the VulnCheck AdPlug Advisory and the HackMD AdPlug Note Exploit writeup.
// No verified proof-of-concept code available.
// See the VulnCheck advisory and HackMD writeup linked above for technical details.
Detection Methods for CVE-2026-110876
Indicators of Compromise
- Presence of XSM files beginning with the ASCII magic ofTAZ! that contain song bytes with the high bit set (0x80 or higher).
- Unexpected crashes or segmentation faults in processes loading the AdPlug library when opening audio files.
- AddressSanitizer or Valgrind reports flagging global-buffer-overflow reads originating in CxsmPlayer::play_note within src/xsm.cpp.
Detection Strategies
- Perform static inspection of XSM files in user downloads or email attachments and quarantine those triggering the signature and byte-value pattern above.
- Run AdPlug-dependent binaries under memory sanitizers in test environments to confirm the presence of the vulnerable code path.
- Inventory installed packages and third-party media players to identify builds that bundle AdPlug <= 2.4.
Monitoring Recommendations
- Monitor endpoint telemetry for repeated crashes of media players or audio converters correlated with opening files of type .xsm.
- Alert on crash dumps whose faulting module references adplug or libadplug.
- Track file-write events that create .xsm files in user-writable directories after web downloads or email delivery.
How to Mitigate CVE-2026-110876
Immediate Actions Required
- Identify all systems and applications that bundle the AdPlug library, including packaged media players and audio converters.
- Restrict opening of untrusted XSM files until a fixed AdPlug build is deployed.
- Rebuild or repackage downstream applications once an upstream patch lands in the AdPlug GitHub repository.
Patch Information
At the time of publication, no official fixed release of AdPlug is referenced in the NVD entry for CVE-2026-110876. Track the AdPlug GitHub repository and the vulnerable code region in src/xsm.cpp for the upstream fix. A corrective patch must validate that the derived note index is non-negative and within the bounds of note_table before dereferencing.
Workarounds
- Block or filter files with the .xsm extension at email gateways and web proxies.
- Disable the XSM format in AdPlug-dependent applications where configuration permits.
- Run audio-processing workloads in sandboxed or containerized environments so a crash does not affect the host.
# Example: block .xsm files at an email gateway or quarantine directory
find /var/mail/attachments -type f -iname '*.xsm' -exec mv {} /var/quarantine/ \;
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

