Description
libmikmod through 3.3.15 contains a global out-of-bounds read vulnerability in the MultiTracker loader MTM_Load() because the module channel count is never clamped. Attackers can supply a crafted .mtm file with a channel count above 32 to read past the static pat array, corrupting track indices and crashing the loading application.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
sezero libmikmod
Default version status: unaffected
0 to ≤ 3.3.15affected
pkg:github/sezero/mikmodReferences
- https://hackmd.io/@haind-pwn/libmikmod-mtm-imf-loader-oob-read ↗
- https://github.com/sezero/mikmod/blob/6e658155f7e6b394a288dac796ba572634553fad/libmikmod/loaders/load_mtm.c#L257-L261 ↗
- https://github.com/sezero/mikmod ↗
- https://www.vulncheck.com/advisories/libmikmod-through-3.3.15-out-of-bounds-read-in-mtm-load-via-channel-count ↗