{"id":"CVE-2019-8355","aliases":["ALPINE-CVE-2019-8355","DEBIAN-CVE-2019-8355","DLA-1808-1","EUVD-2019-17745","GHSA-6fj7-6wcf-937v","MGASA-2020-0045","OESA-2025-1020","UBUNTU-CVE-2019-8355","USN-4079-1","USN-4079-2"],"status":"published","title":"An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result...","description":"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.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01707,"percentile":0.77465,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190","CWE-787"],"published":"2019-02-15T00:00:00Z","modified":"2026-11-03T06:32:20Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"sox","fixed_in":["14.4.2-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"sox","fixed_in":["14.4.2-r3"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"sox","fixed_in":["14.4.2+git20190427-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sox","fixed_in":["14.4.2+git20190427-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sox","fixed_in":["14.4.1-3ubuntu1.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"sox","fixed_in":["14.4.1-5+deb8u4ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"sox","fixed_in":["14.4.2-3ubuntu0.18.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-5+deb8u4"}]}],"versions":["14.4.1-5","14.4.1-5+deb8u1","14.4.1-5+deb8u2","14.4.1-5+deb8u3"],"bundled":4},{"source":"osv","ecosystem":"Mageia:7","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.3-0.git20200117.1.mga7"}]}],"bundled":4},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-31.oe2203sp4"}]}],"bundled":5},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP1","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-31.oe2403sp1"}]}],"bundled":5},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-31.oe2203sp3"}]}],"bundled":5},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-31.oe2003sp4"}]}],"bundled":5},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-31.oe2203sp1"}]}],"bundled":5},{"source":"osv","ecosystem":"openEuler:24.03-LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-31.oe2403"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sox","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-5+deb8u4ubuntu0.1"}]}],"versions":["14.4.1-5","14.4.1-5ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sox","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-5+deb8u4ubuntu0.1"}]}],"versions":["14.4.1-5","14.4.1-5ubuntu0.1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sox","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"],"bundled":4}],"products":[{"vendor":"sound_exchange_project","product":"sound_exchange"}],"references":[{"url":"https://sourceforge.net/p/sox/bugs/320","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/05/msg00040.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4079-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4079-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8355","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6fj7-6wcf-937v"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-8355","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-8355","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2020-0045.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=25289","tags":["report"]},{"url":"https://sourceforge.net/p/sox/bugs/319/","tags":["report"]},{"url":"https://sourceforge.net/p/sox/bugs/320/","tags":["report"]},{"url":"https://sourceforge.net/p/sox/bugs/321/","tags":["report"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1020","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13590","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8354","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8356","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8357","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-8355","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4079-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4079-2","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-8355","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-8354","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-8356","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-8357","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-8355","description":"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.","status":"published","published":"2019-02-15T23:00:00Z","modified":"2024-08-04T21:17:30.879Z","updated_at":"2026-11-02T14:20:21.703364Z"}],"euvd":[{"id":"EUVD-2019-17745","description":"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.","status":"published","published":"2019-02-15T23:00:00Z","modified":"2024-08-04T21:17:30Z","updated_at":"2026-11-03T03:06:42.975045Z"}],"ghsa":[{"id":"GHSA-6fj7-6wcf-937v","title":"An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result...","description":"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.","status":"published","published":"2022-05-13T01:22:55Z","modified":"2023-02-01T05:07:14Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:50:30.568005Z"}],"nvd":[{"id":"CVE-2019-8355","description":"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.","status":"published","published":"2019-02-15T23:29:00.307Z","modified":"2026-06-17T02:41:53.333Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-190","CWE-787"],"updated_at":"2026-11-02T14:05:04.689371Z"}],"osv":[{"id":"ALPINE-CVE-2019-8355","description":"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.","status":"published","published":"2019-02-15T23:29:00.307Z","modified":"2026-11-03T06:32:20.878529528Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:17:57.723967Z"},{"id":"CVE-2019-8355","description":"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.","status":"published","published":"2019-02-15T23:29:00.307Z","modified":"2026-04-16T04:43:11.362339599Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:12.974481Z"},{"id":"DEBIAN-CVE-2019-8355","description":"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.","status":"published","published":"2019-02-15T23:29:00.307Z","modified":"2026-09-21T07:03:24.969089639Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:32.57265Z"},{"id":"OESA-2025-1020","title":"sox security update","description":"SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files, and, as an added bonus, SoX can play and record audio files on most platforms.\n\nSecurity Fix(es):\n\nAn 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.(CVE-2019-13590)\n\nAn issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c has an integer overflow on the result of multiplication fed into malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow.(CVE-2019-8354)\n\nAn 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.(CVE-2019-8355)\n\nAn issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the statically declared array, aka a stack-based buffer overflow.(CVE-2019-8356)\n\nAn issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.(CVE-2019-8357)","status":"published","published":"2025-01-10T11:08:06Z","modified":"2026-08-18T01:18:44.707099284Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:42.253598Z"},{"id":"UBUNTU-CVE-2019-8355","description":"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.","status":"published","published":"2019-02-15T00:00:00Z","modified":"2026-04-22T12:22:02.763622Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:21.741399Z"},{"id":"DLA-1808-1","title":"sox - security update","status":"published","published":"2019-05-28T00:00:00Z","modified":"2026-03-09T01:21:48.73188Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"MGASA-2020-0045","title":"Updated sox packages fix security vulnerabilities","description":"Updated sox packages fix security vulnerabilities:\n\nIt was discovered that SoX incorrectly handled certain MP3 files. An\nattacker could possibly use this issue to cause a denial of service.\n(CVE-2019-8354, CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)\n","status":"published","published":"2020-01-22T10:37:29Z","modified":"2026-04-16T04:42:03.121225043Z","updated_at":"2026-11-02T15:49:41.151324Z"},{"id":"USN-4079-1","title":"sox vulnerabilities","description":"It was discovered that SoX incorrectly handled certain MP3 files. An attacker\ncould possibly use this issue to cause a denial of service. (CVE-2019-8354,\nCVE-2019-8355, CVE-2019-8356, CVE-2019-8357)\n","status":"published","published":"2019-07-30T19:07:43Z","modified":"2026-04-22T09:13:58.496198Z","updated_at":"2026-11-02T16:58:14.019824Z"},{"id":"USN-4079-2","title":"sox vulnerabilities","description":"USN-4079-1 fixed vulnerabilities in SoX. This update provides the corresponding\nupdate for Ubuntu 18.04 LTS and Ubuntu 19.04.\n\nOriginal advisory details:\n\n It was discovered that SoX incorrectly handled certain MP3 files. An attacker\n could possibly use this issue to cause a denial of service. (CVE-2019-8354,\n CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)\n","status":"published","published":"2019-08-01T23:24:10Z","modified":"2026-04-22T09:24:54.617858Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
