Description
An issue was discovered in libsox.a in SoX 14.4.2. In sox-fmt.h (startread function), there is an integer overflow on the result of integer addition (wraparound to 0) fed into the lsx_calloc macro that wraps malloc. When a NULL pointer is returned, it is used without a prior check that it is a valid pointer, leading to a NULL pointer dereference on lsx_readbuf in formats_i.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-2 | — |
| Debian 12 | sox | 14.4.2+git20190427-2 | — |
| Debian 10 | sox | 14.4.2+git20190427-1+deb10u1 | DLA-3315-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | sox | 14.4.2+git20190427-2+deb11u1build0.22.04.1 | USN-5904-1 |
| Ubuntu 20.04 LTS | sox | 14.4.2+git20190427-2+deb11u1build0.20.04.1 | USN-5904-1 |
| Ubuntu 18.04 LTS | sox | 14.4.2-3ubuntu0.18.04.2 | USN-5904-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | sox | 14.4.1-5+deb8u4ubuntu0.1+esm1 | USN-5904-1 |
| Ubuntu Pro 14.04 LTS | sox | 14.4.1-3ubuntu1.1+esm2 | USN-5904-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | sox | 14.4.2-bp155.3.3.1 | openSUSE-SU-2023:0329-1 |
| SUSE Package Hub 15 SP4 | sox | 14.4.2-bp154.2.3.1 | openSUSE-SU-2023:0328-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | sox | 14.4.2-8.1 | openSUSE-SU-2024:13359-1 |
| openSUSE Leap 15.5 | sox | 14.4.2-bp155.3.3.1 | openSUSE-SU-2023:0329-1 |
| openSUSE Leap 15.4 | sox | 14.4.2-bp154.2.3.1 | openSUSE-SU-2023:0328-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | sox | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | sox | No fix yet | — |
Advisories 5
- USN-5904-1 sox vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-3315-1 sox - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:13359-1 libsox3-14.4.2-8.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2023:0329-1 Security update for sox SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2023:0328-1 Security update for sox SUSE / openSUSE Security Updates · Feb 4, 2026