{"id":"UBUNTU-CVE-2019-8355","details":"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.","modified":"2026-04-22T13:50:20.303415Z","published":"2019-02-15T00:00:00Z","related":["USN-4079-1","USN-4079-2"],"upstream":["CVE-2019-8355"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-8355"},{"type":"REPORT","url":"https://sourceforge.net/p/sox/bugs/320"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4079-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4079-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-8355"}],"affected":[{"package":{"name":"sox","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/sox@14.4.1-3ubuntu1.1+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-3ubuntu1.1+esm1"}]}],"versions":["14.4.1-3","14.4.1-3ubuntu1","14.4.1-3ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libsox-fmt-all","binary_version":"14.4.1-3ubuntu1.1+esm1"},{"binary_name":"libsox-fmt-alsa","binary_version":"14.4.1-3ubuntu1.1+esm1"},{"binary_name":"libsox-fmt-ao","binary_version":"14.4.1-3ubuntu1.1+esm1"},{"binary_name":"libsox-fmt-base","binary_version":"14.4.1-3ubuntu1.1+esm1"},{"binary_name":"libsox-fmt-mp3","binary_version":"14.4.1-3ubuntu1.1+esm1"},{"binary_name":"libsox-fmt-oss","binary_version":"14.4.1-3ubuntu1.1+esm1"},{"binary_name":"libsox-fmt-pulse","binary_version":"14.4.1-3ubuntu1.1+esm1"},{"binary_name":"libsox2","binary_version":"14.4.1-3ubuntu1.1+esm1"},{"binary_name":"sox","binary_version":"14.4.1-3ubuntu1.1+esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-8355.json"}},{"package":{"name":"sox","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/sox@14.4.1-5+deb8u4ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-5+deb8u4ubuntu0.1"}]}],"versions":["14.4.1-5","14.4.1-5ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libsox-fmt-all","binary_version":"14.4.1-5+deb8u4ubuntu0.1"},{"binary_name":"libsox-fmt-alsa","binary_version":"14.4.1-5+deb8u4ubuntu0.1"},{"binary_name":"libsox-fmt-ao","binary_version":"14.4.1-5+deb8u4ubuntu0.1"},{"binary_name":"libsox-fmt-base","binary_version":"14.4.1-5+deb8u4ubuntu0.1"},{"binary_name":"libsox-fmt-mp3","binary_version":"14.4.1-5+deb8u4ubuntu0.1"},{"binary_name":"libsox-fmt-oss","binary_version":"14.4.1-5+deb8u4ubuntu0.1"},{"binary_name":"libsox-fmt-pulse","binary_version":"14.4.1-5+deb8u4ubuntu0.1"},{"binary_name":"libsox2","binary_version":"14.4.1-5+deb8u4ubuntu0.1"},{"binary_name":"sox","binary_version":"14.4.1-5+deb8u4ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-8355.json"}},{"package":{"name":"sox","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/sox@14.4.2-3ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-3ubuntu0.18.04.1"}]}],"versions":["14.4.1-5build1","14.4.2-2","14.4.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libsox-fmt-all","binary_version":"14.4.2-3ubuntu0.18.04.1"},{"binary_name":"libsox-fmt-alsa","binary_version":"14.4.2-3ubuntu0.18.04.1"},{"binary_name":"libsox-fmt-ao","binary_version":"14.4.2-3ubuntu0.18.04.1"},{"binary_name":"libsox-fmt-base","binary_version":"14.4.2-3ubuntu0.18.04.1"},{"binary_name":"libsox-fmt-mp3","binary_version":"14.4.2-3ubuntu0.18.04.1"},{"binary_name":"libsox-fmt-oss","binary_version":"14.4.2-3ubuntu0.18.04.1"},{"binary_name":"libsox-fmt-pulse","binary_version":"14.4.2-3ubuntu0.18.04.1"},{"binary_name":"libsox3","binary_version":"14.4.2-3ubuntu0.18.04.1"},{"binary_name":"sox","binary_version":"14.4.2-3ubuntu0.18.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-8355.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}