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