Description
libmikmod before 3.3.14 contains an integer overflow vulnerability in DSM_Load() in load_dsm.c that allows attackers to trigger heap buffer overflow via crafted track counts. Attackers can supply a DSM module whose numchn and numpat product wraps a 16-bit value, overwriting heap memory to cause crashes or potential code execution.
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.14affected
pkg:github/sezero/mikmodReferences
- https://github.com/sezero/mikmod/commit/a125eabbd086f311496ae46d08aaebcad0a1c426 ↗
- https://github.com/sezero/mikmod/blob/libmikmod-3.3.13/libmikmod/loaders/load_dsm.c#L273 ↗
- https://github.com/sezero/mikmod/blob/libmikmod-3.3.14/libmikmod/NEWS ↗
- https://github.com/sezero/mikmod ↗
- https://www.vulncheck.com/advisories/libmikmod-before-3.3.14-heap-buffer-overflow-via-dsm-loader-integer-overflow ↗