An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow in channels_start in remix.c.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-8355
Reference (s):
- https://sourceforge.net/p/sox/bugs/320
- MLIST:[debian-lts-announce] 20190528 [SECURITY] [DLA 1808-1] sox security update
- URL: https://lists.debian.org/debian-lts-announce/2019/05/msg00040.html
- UBUNTU:USN-4079-1
- URL: https://usn.ubuntu.com/4079-1/

