Description
AdPlug through 2.4 contains a heap-based buffer overflow in CksmPlayer::update() in src/ksm.cpp that writes past the fixed databuf[2048] array without bounds checking. Attackers can supply a crafted .ksm module whose notes share one time slot to overflow the heap player object, causing memory corruption and denial of service.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| adplug | adplug | <= 2.4 |
References
- https://github.com/adplug/adplug
- https://github.com/adplug/adplug/blob/e491e382479ed2246f124c96c70d94561dce59b9/src/ksm.cpp#L99-L229
- https://github.com/adplug/adplug/issues/292
- https://github.com/adplug/adplug/pull/295
- https://hackmd.io/@haind-pwn/adplug-ksm-note-loop-databuf-oob-write
- https://www.vulncheck.com/advisories/adplug-through-2.4-heap-buffer-overflow-via-cksmplayer-update-in-ksm-cpp
- https://hackmd.io/@haind-pwn/adplug-ksm-note-loop-databuf-oob-write
Timeline
- Published
- Oct 15, 2026
- Last modified
- Oct 26, 2026
- NVD status
- Deferred