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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | sox | 14.4.2+git20190427-1 | — |
| Debian 12 | sox | 14.4.2+git20190427-1 | — |
| Debian 8 | sox | 14.4.1-5+deb8u4 | DLA-1808-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | sox | 14.4.2-3ubuntu0.18.04.1 | USN-4079-2 |
| Ubuntu 16.04 LTS | sox | 14.4.1-5+deb8u4ubuntu0.1 | USN-4079-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | sox | 14.4.1-3ubuntu1.1+esm1 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | sox | 14.4.2-r5 | — |
| Alpine v3.23 | sox | 14.4.2-r5 | — |
| Alpine v3.22 | sox | 14.4.2-r5 | — |
| Alpine v3.21 | sox | 14.4.2-r5 | — |
| Alpine v3.20 | sox | 14.4.2-r5 | — |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | sox | 14.4.2-r5 | — |
| Alpine v3.18 | sox | 14.4.2-r5 | — |
| Alpine v3.17 | sox | 14.4.2-r5 | — |
| Alpine v3.16 | sox | 14.4.2-r5 | — |
| Alpine v3.15 | sox | 14.4.2-r5 | — |
| Alpine v3.14 | sox | 14.4.2-r5 | — |
| Alpine v3.13 | sox | 14.4.2-r5 | — |
| Alpine v3.12 | sox | 14.4.2-r5 | — |
| Alpine v3.11 | sox | 14.4.2-r5 | — |
| Alpine v3.10 | sox | 14.4.2-r5 | — |
| Alpine v3.9 | sox | 14.4.2-r3 | — |
Advisories 3
- USN-4079-2 sox vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-4079-1 sox vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-1808-1 sox - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://sourceforge.net/p/sox/bugs/320
- [debian-lts-announce] 20190528 [SECURITY] [DLA 1808-1] sox security update mailing-list
- USN-4079-1 vendor-advisory
- USN-4079-2 vendor-advisory