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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | sox | < 14.4.2+git20190427-1 | sox_14.4.2+git20190427-1_all.deb |
Debian | 11 | all | sox | < 14.4.2+git20190427-1 | sox_14.4.2+git20190427-1_all.deb |
Debian | 10 | all | sox | < 14.4.2+git20190427-1 | sox_14.4.2+git20190427-1_all.deb |
Debian | 999 | all | sox | < 14.4.2+git20190427-1 | sox_14.4.2+git20190427-1_all.deb |
Debian | 13 | all | sox | < 14.4.2+git20190427-1 | sox_14.4.2+git20190427-1_all.deb |