Integer Overflow and Buffer Overflow Vulnerabilities in Winamp
The in_mkv plugin uses a particular function (address 077078c0) for reading text strings from the Matroska containers. The operations performed are the reading of the ebml numeric value (64bit), the allocation of memory corresponding to that value (32bit) plus 1 and the subsequent reading of the data from the file leading to possible code execution. The in_nsv plugin is affected by an heap-overflow caused by the function (address 077ca422) that first verifies the size of the metadata string contained in the file adding 1 to it and then copies 0x1fffffff bytes in a heap buffer leading to possible code execution. The in_midi plugin is affected by an heap-overflow caused by the function (address 077d7f2f) that first verifies the size of the metadata string contained in the file adding 1 to it and then copies 0x1fffffff bytes in a heap buffer leading to possible code execution. The in_mod plugin is affected by a stack-based buffer-overflow caused by the function (address 077d7f2f) that copies 0x1fffffff bytes in a stack buffer leading to possible code execution.