CVE-2019-8354
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c has an integer overflow on...
An 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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.0
An 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.
- Record
CVE-2019-8354- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-190, CWE-787
- Updated
- 2026-11-02
CVE List No score
An 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.
- Record
CVE-2019-8354- Updated
- 2026-11-02
EUVDEUVD-2019-17744 No score
An 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.
- Record
EUVD-2019-17744- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7j68-5pq5-623j
5.0
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c has an integer overflow on...
An 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.
- Record
GHSA-7j68-5pq5-623j- CVSS 3.0
- 5.0 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-190, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2019-8354
5.0
An 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.
- Record
ALPINE-CVE-2019-8354- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
5.0
An 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.
- Record
CVE-2019-8354- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2019-8354
5.0
An 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.
- Record
DEBIAN-CVE-2019-8354- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2025-1020
5.5
sox security update
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.
Security Fix(es):
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.(CVE-2019-13590)
An 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)
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.(CVE-2019-8355)
An 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)
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.(CVE-2019-8357)
- Record
OESA-2025-1020- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-8354
5.0
An 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.
- Record
UBUNTU-CVE-2019-8354- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 5.0 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2020-0045 No score
Updated sox packages fix security vulnerabilities
Updated sox packages fix security vulnerabilities:
It was discovered that SoX incorrectly handled certain MP3 files. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-8354, CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
- Record
MGASA-2020-0045- Updated
- 2026-11-02
OSVUSN-4079-1 No score
sox vulnerabilities
It was discovered that SoX incorrectly handled certain MP3 files. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-8354, CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
- Record
USN-4079-1- Updated
- 2026-11-02
OSVUSN-4079-2 No score
sox vulnerabilities
USN-4079-1 fixed vulnerabilities in SoX. This update provides the corresponding update for Ubuntu 18.04 LTS and Ubuntu 19.04.
Original advisory details:
It was discovered that SoX incorrectly handled certain MP3 files. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-8354, CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
- Record
USN-4079-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
soxAlpine:v3.10 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.11 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.12 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.13 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.14 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.15 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.16 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.17 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.18 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.19 |
before 14.4.2-r5 | 14.4.2-r5 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
soxAlpine:v3.20 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.21 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.22 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.23 |
before 14.4.2-r5 | 14.4.2-r5 |
soxAlpine:v3.24 |
before 14.4.2-r5 | 14.4.2-r5 |
soxDebian:12 |
before 14.4.2+git20190427-1 | 14.4.2+git20190427-1 |
soxDebian:13 |
before 14.4.2+git20190427-1 | 14.4.2+git20190427-1 |
soxDebian:8 |
before 14.4.1-5+deb8u4, plus listed versions 14.4.1-514.4.1-5+deb8u114.4.1-5+deb8u214.4.1-5+deb8u3 |
14.4.1-5+deb8u4 |
soxMageia:7 |
before 14.4.3-0.git20200117.1.mga7 | 14.4.3-0.git20200117.1.mga7 |
soxopenEuler:22.03-LTS-SP4 |
before 14.4.2.0-31.oe2203sp4 | 14.4.2.0-31.oe2203sp4 |
soxopenEuler:24.03-LTS-SP1 |
before 14.4.2.0-31.oe2403sp1 | 14.4.2.0-31.oe2403sp1 |
soxopenEuler:22.03-LTS-SP3 |
before 14.4.2.0-31.oe2203sp3 | 14.4.2.0-31.oe2203sp3 |
soxopenEuler:20.03-LTS-SP4 |
before 14.4.2.0-31.oe2003sp4 | 14.4.2.0-31.oe2003sp4 |
soxopenEuler:22.03-LTS-SP1 |
before 14.4.2.0-31.oe2203sp1 | 14.4.2.0-31.oe2203sp1 |
soxopenEuler:24.03-LTS |
before 14.4.2.0-31.oe2403 | 14.4.2.0-31.oe2403 |
soxUbuntu:Pro:14.04:LTS |
before 14.4.1-3ubuntu1.1+esm1, plus listed versions 14.4.1-314.4.1-3ubuntu114.4.1-3ubuntu1.1 |
14.4.1-3ubuntu1.1+esm1 |
soxUbuntu:16.04:LTS |
before 14.4.1-5+deb8u4ubuntu0.1, plus listed versions 14.4.1-514.4.1-5ubuntu0.1 |
14.4.1-5+deb8u4ubuntu0.1 |
soxUbuntu:18.04:LTS |
before 14.4.2-3ubuntu0.18.04.1, plus listed versions 14.4.1-5build114.4.2-214.4.2-3 |
14.4.2-3ubuntu0.18.04.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-8354 is a medium vulnerability (CVSS 5.0) in Canonical Ubuntu Linux, published February 15, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.63%, the 76th percentile. Fixed in sox 14.4.2-r5.
References
sourceforge.net/p/sox/bugs/319
lists.debian.org/debian-lts-announce/2019/05/msg00040.html
usn.ubuntu.com/4079-1
usn.ubuntu.com/4079-2
nvd.nist.gov/vuln/detail/CVE-2019-8354
github.com/advisories/GHSA-7j68-5pq5-623j
Show 18 moreShow less
security.alpinelinux.org/vuln/CVE-2019-8354
security-tracker.debian.org/tracker/CVE-2019-8354
advisories.mageia.org/MGASA-2020-0045.html
bugs.mageia.org/show_bug.cgi?id=25289
sourceforge.net/p/sox/bugs/320
sourceforge.net/p/sox/bugs/321
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1020
nvd.nist.gov/vuln/detail/CVE-2019-13590
nvd.nist.gov/vuln/detail/CVE-2019-8355
nvd.nist.gov/vuln/detail/CVE-2019-8356
nvd.nist.gov/vuln/detail/CVE-2019-8357
ubuntu.com/security/CVE-2019-8354
ubuntu.com/security/notices/USN-4079-1
ubuntu.com/security/notices/USN-4079-2
cve.org/CVERecord?id=CVE-2019-8354
ubuntu.com/security/CVE-2019-8355
ubuntu.com/security/CVE-2019-8356
ubuntu.com/security/CVE-2019-8357