---
id: CVE-2026-110876
title: >-
  AdPlug through 2.4 contains an out-of-bounds read vulnerability in src/xsm.cpp
  that allows attackers to read before note_table by supplying a negative note
  index
summary: >-
  AdPlug through 2.4 contains an out-of-bounds read vulnerability in src/xsm.cpp
  that allows attackers to read before note_table by supplying a negative note
  index. Attackers can craft an XSM file with the ofTAZ! signature and a song
  byte …
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: adplug
product: adplug
affected:
  - adplug <= 2.4
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:24.687'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110876'
references:
  - url: 'https://github.com/adplug/adplug'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/adplug/adplug/blob/e491e382479ed2246f124c96c70d94561dce59b9/src/xsm.cpp#L86-L134
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@haind-pwn/adplug-ksm-note-loop-databuf-oob-write'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/adplug-through-2.4-out-of-bounds-read-via-cxsmplayer-play-note-in-xsm-files
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-15T19:25:46.405Z'
---

## Overview

AdPlug through 2.4 contains an out-of-bounds read vulnerability in src/xsm.cpp that allows attackers to read before note_table by supplying a negative note index. Attackers can craft an XSM file with the ofTAZ! signature and a song byte of 0x80 or higher, causing a global-buffer-overflow read during playback that may crash affected applications.

## Remediation

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