GHSA-jrh8-g7qr-96vgMediumCVSS 6.1
AdPlug through 2.4 contains a heap-based buffer overflow in CksmPlayer::update() in src/ksm.cpp...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-110875
- https://github.com/adplug/adplug/issues/292
- https://github.com/adplug/adplug/pull/295
- https://github.com/adplug/adplug
- https://github.com/adplug/adplug/blob/e491e382479ed2246f124c96c70d94561dce59b9/src/ksm.cpp#L99-L229
- 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://github.com/advisories/GHSA-jrh8-g7qr-96vg