Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| adplug / adplug | affected 0 through 2.4 |
CWE
CWE-125
References
- https://hackmd.io/@haind-pwn/adplug-ksm-note-loop-databuf-oob-write
- https://github.com/adplug/adplug/blob/e491e382479ed2246f124c96c70d94561dce59b9/src/xsm.cpp#L86-L134
- https://github.com/adplug/adplug
- https://www.vulncheck.com/advisories/adplug-through-2.4-out-of-bounds-read-via-cxsmplayer-play-note-in-xsm-files
ADP enrichment
No English description supplied.
No references supplied.