Skip to content
OpenAdvisories
Unscored CVE-2019-13590 EUVD-2019-5037GHSA-x9xw-c3gx-4f2m

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…

Published Jul 14, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 sox No fix yet —
Azure Linux 2 (CBL-Mariner) sox No fix yet —

Advisories 5

References