CVE-2019-8355 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 s...
MediumCVSS 5.5
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/sox(Debian:12) | < 14.4.2+git20190427-1 | 14.4.2+git20190427-1 |
| debian/sox(Debian:13) | < 14.4.2+git20190427-1 | 14.4.2+git20190427-1 |
| sound exchange project sound exchange | = 14.4.2 | No fix listed |
| alpine/sox(Alpine:v3.10) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.11) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.12) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.13) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.14) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.15) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.16) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.17) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.18) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.19) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.20) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.21) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.22) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.23) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.24) | < 14.4.2-r5 | 14.4.2-r5 |
| alpine/sox(Alpine:v3.9) | < 14.4.2-r3 | 14.4.2-r3 |
References
- Debian Security Tracker CVE-2019-8355 vendor-advisory
- [debian-lts-announce] 20190528 [SECURITY] [DLA 1808-1] sox security update mailing-list
- sourceforge.net third-party-advisory
- USN-4079-1 vendor-advisory
- USN-4079-2 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking