Every CVE Search/ Get API key

CVE-2019-13590

An issue was discovered in libsox.a in SoX 14.4.2. In sox-fmt.h (startread function), there is an...

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.06%Up 0.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2019-13590
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-190, CWE-476
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-13590
Updated
2026-11-02
EUVDEUVD-2019-5037 No score

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.

Record
EUVD-2019-5037
Updated
2026-11-03
GitHub AdvisoriesGHSA-x9xw-c3gx-4f2m 5.5

An issue was discovered in libsox.a in SoX 14.4.2. In sox-fmt.h (startread function), there is an...

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.

Record
GHSA-x9xw-c3gx-4f2m
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVAZL-43633 5.5

CVE-2019-13590 affecting package sox 14.4.2.0-34

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.

Record
AZL-43633
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-44592 5.5

CVE-2019-13590 affecting package sox 14.4.2.0-34

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.

Record
AZL-44592
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 9 moreShow less
OSV 5.5

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.

Record
CVE-2019-13590
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-13590 5.5

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.

Record
DEBIAN-CVE-2019-13590
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/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 MediumCVSS: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-13590 5.5

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.

Record
UBUNTU-CVE-2019-13590
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2023-0059 No score

Updated sox packages fix security vulnerability

CVE-2019-13590: sox-fmt validation CVE-2021-3643 and CVE-2021-23210: voc validation CVE-2021-23159 and CVE-2021-23172: hcom validation CVE-2021-33844: wav validation CVE-2021-40426: sphere validation CVE-2022-31650: aiff validation CVE-2022-31651: reject implausible rate

Record
MGASA-2023-0059
Updated
2026-11-02
OSVopenSUSE-SU-2023:0328-1 No score

Security update for sox

This update for sox fixes the following issues:

  • Apply various fix patches taken from Debian package; it fixes also other entries (CVE-2022-31650 boo#1212060 CVE-2023-34318 boo#1212062 CVE-2023-34432 boo#1212063)
  • Fix floating point exception in src/voc.c (CVE-2023-32627 boo#1212061)
Record
openSUSE-SU-2023:0328-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0329-1 No score

Security update for sox

This update for sox fixes the following issues:

  • Apply various fix patches taken from Debian package; it fixes also other entries (CVE-2022-31650 boo#1212060 CVE-2023-34318 boo#1212062 CVE-2023-34432 boo#1212063)
  • Fix floating point exception in src/voc.c (CVE-2023-32627 boo#1212061)
Record
openSUSE-SU-2023:0329-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13359-1 No score

libsox3-14.4.2-8.1 on GA media

These are all security issues fixed in the libsox3-14.4.2-8.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13359-1
Updated
2026-11-02
OSVUSN-5904-1 No score

sox vulnerabilities

Helmut Grohne discovered that SoX incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 LTS. (CVE-2019-13590)

Helmut Grohne discovered that SoX incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-23159, CVE-2021-23172, CVE-2021-23210, CVE-2021-33844, CVE-2021-3643, CVE-2021-40426, CVE-2022-31650, and CVE-2022-31651)

Record
USN-5904-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sox
Azure Linux:2
through 14.4.2.0-34 None known
sox
Azure Linux:3
through 14.4.2.0-34 None known
sox
Debian:12
before 14.4.2+git20190427-2
14.4.2+git20190427-2
sox
Debian:13
before 14.4.2+git20190427-2
14.4.2+git20190427-2
sox
Debian:10
before 14.4.2+git20190427-1+deb10u1, plus listed versions
14.4.2+git20190427-1
14.4.2+git20190427-1+deb10u1
sox
Mageia:8
before 14.4.3-0.git20200117.3.1.mga8
14.4.3-0.git20200117.3.1.mga8
sox
openEuler:22.03-LTS-SP4
before 14.4.2.0-31.oe2203sp4
14.4.2.0-31.oe2203sp4
sox
openEuler:24.03-LTS-SP1
before 14.4.2.0-31.oe2403sp1
14.4.2.0-31.oe2403sp1
sox
openEuler:22.03-LTS-SP3
before 14.4.2.0-31.oe2203sp3
14.4.2.0-31.oe2203sp3
sox
openEuler:20.03-LTS-SP4
before 14.4.2.0-31.oe2003sp4
14.4.2.0-31.oe2003sp4
Show 12 moreShow less
Affected packages
PackageAffectedFixed
sox
openEuler:22.03-LTS-SP1
before 14.4.2.0-31.oe2203sp1
14.4.2.0-31.oe2203sp1
sox
openEuler:24.03-LTS
before 14.4.2.0-31.oe2403
14.4.2.0-31.oe2403
sox
Ubuntu:Pro:14.04:LTS
before 14.4.1-3ubuntu1.1+esm2, plus listed versions
14.4.1-314.4.1-3ubuntu114.4.1-3ubuntu1.114.4.1-3ubuntu1.1+esm1
14.4.1-3ubuntu1.1+esm2
sox
Ubuntu:Pro:16.04:LTS
before 14.4.1-5+deb8u4ubuntu0.1+esm1, plus listed versions
14.4.1-514.4.1-5ubuntu0.114.4.1-5ubuntu0.1+esm114.4.1-5+deb8u4ubuntu0.1
14.4.1-5+deb8u4ubuntu0.1+esm1
sox
Ubuntu:18.04:LTS
before 14.4.2-3ubuntu0.18.04.2, plus listed versions
14.4.1-5build114.4.2-214.4.2-314.4.2-3ubuntu0.18.04.1
14.4.2-3ubuntu0.18.04.2
sox
Ubuntu:20.04:LTS
before 14.4.2+git20190427-2+deb11u1build0.20.04.1, plus listed versions
14.4.2+git20190427-1build114.4.2+git20190427-2
14.4.2+git20190427-2+deb11u1build0.20.04.1
sox
Ubuntu:22.04:LTS
before 14.4.2+git20190427-2+deb11u1build0.22.04.1, plus listed versions
14.4.2+git20190427-2
14.4.2+git20190427-2+deb11u1build0.22.04.1
sox
SUSE:Package Hub 15 SP4
before 14.4.2-bp154.2.3.1
14.4.2-bp154.2.3.1
sox
openSUSE:Leap 15.4
before 14.4.2-bp154.2.3.1
14.4.2-bp154.2.3.1
sox
SUSE:Package Hub 15 SP5
before 14.4.2-bp155.3.3.1
14.4.2-bp155.3.3.1
sox
openSUSE:Leap 15.5
before 14.4.2-bp155.3.3.1
14.4.2-bp155.3.3.1
sox
openSUSE:Tumbleweed
before 14.4.2-8.1
14.4.2-8.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-13590 is a medium vulnerability (CVSS 5.5) in Sound Exchange Project Exchange, published July 14, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.06%, the 64th percentile. Fixed in sox 14.4.2+git20190427-2.

References

Show 35 moreShow less
MoveEnter Open