CVE-2019-8355

NameCVE-2019-8355
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1808-1
Debian Bugs927906

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sox (PTS)jessie, jessie (lts)14.4.1-5+deb8u7fixed
stretch (lts), stretch14.4.1-5+deb9u5fixed
buster14.4.2+git20190427-1fixed
buster (security)14.4.2+git20190427-1+deb10u3fixed
bullseye (security), bullseye14.4.2+git20190427-2+deb11u2fixed
bookworm14.4.2+git20190427-3.5fixed
trixie, sid14.4.2+git20190427-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
soxsourcewheezy(unfixed)end-of-life
soxsourcejessie14.4.1-5+deb8u4DLA-1808-1
soxsourcestretch14.4.1-5+deb9u2
soxsource(unstable)14.4.2+git20190427-1927906

Notes

https://sourceforge.net/p/sox/bugs/320
https://sourceforge.net/p/sox/code/ci/f8587e2d50dad72d40453ac1191c539ee9e50381/

Search for package or bug name: Reporting problems