Logo
componentsox
Name
sox
Version
14.4.2
Type
library
Description
-
Licenses
GPL-2.0-only & LGPL-2.1-only
PURL
-
CPE
cpe:2.3:*:sound_exchange_project:sound_exchange:14.4.2:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
14.4.2
master
14.4.2+git

Patches#


#
Title
Author
Resolve
1
sox-fmt: validate comments_bytes before use (CVE-2019-13590)
Mans Rullgard <mans@mansr.com>
CVE-2019-13590
2
fix possible buffer size overflow in lsx_make_lpf()
Mans Rullgard <mans@mansr.com>
CVE-2019-8354
3
wav: ima_adpcm: fix buffer overflow on corrupt input
Mans Rullgard <mans@mansr.com>
CVE-2017-15370
4
remove the #error line and live without file-type detection with pipes
Khem Raj <raj.khem@gmail.com>
5
wav: fix crash if channel count is zero (CVE-2017-11332)
Mans Rullgard <mans@mansr.com>
CVE-2017-11332
6
hcom: fix crash on input with corrupt dictionary
Mans Rullgard <mans@mansr.com>
CVE-2017-11358
7
wav: fix crash writing header when channel count >64k
Mans Rullgard <mans@mansr.com>
CVE-2017-11359
8
Update exported symbol list
Mans Rullgard <mans@mansr.com>
9
adpcm: fix stack overflow with >4 channels (CVE-2017-15372)
Mans Rullgard <mans@mansr.com>
CVE-2017-15372
10
xa: validate channel count
Mans Rullgard <mans@mansr.com>
CVE-2017-18189
CVE-2019-1010004
11
aiff: fix crash on empty comment chunk (CVE-2017-15642)
Mans Rullgard <mans@mansr.com>
CVE-2017-15642
12
flac: fix crash on corrupt metadata (CVE-2017-15371)
Mans Rullgard <mans@mansr.com>
CVE-2017-15371

Vulnerabilities#


Name
Analysis
Description
Exploitable
A heap buffer overflow vulnerability was found in sox, in the lsx_readbuf function at sox/src/formats_i.c:98:16. This flaw can lead to a denial of service, code execution, or information disclosure.
Exploitable
In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.
Exploitable
In SoX 14.4.2, there is a floating-point exception in lsx_aiffstartwrite in aiff.c in libsox.a.
Exploitable
A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
Exploitable
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
Exploitable
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.
Exploitable
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.
Patched
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.
Patched
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.
Patched
SoX - Sound eXchange 14.4.2 and earlier is affected by: Out-of-bounds Read. The impact is: Denial of Service. The component is: read_samples function at xa.c:219. The attack vector is: Victim must open specially crafted .xa file. NOTE: this may overlap CVE-2017-18189.
Patched
In the startread function in xa.c in Sound eXchange (SoX) through 14.4.2, a corrupt header specifying zero channels triggers an infinite loop with a resultant NULL pointer dereference, which may allow a remote attacker to cause a denial-of-service.
Patched
In lsx_aiffstartread in aiff.c in Sound eXchange (SoX) 14.4.2, there is a Use-After-Free vulnerability triggered by supplying a malformed AIFF file.
Patched
There is a stack-based buffer overflow in the lsx_ms_adpcm_block_expand_i function of adpcm.c in Sound eXchange (SoX) 14.4.2. A Crafted input will lead to a denial of service attack during conversion of an audio file.
Patched
There is a reachable assertion abort in the function sox_append_comment() in formats.c in Sound eXchange (SoX) 14.4.2. A Crafted input will lead to a denial of service attack during conversion of an audio file.
Patched
There is a heap-based buffer overflow in the ImaExpandS function of ima_rw.c in Sound eXchange (SoX) 14.4.2. A Crafted input will lead to a denial of service attack during conversion of an audio file.
Patched
The wavwritehdr function in wav.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted snd file, during conversion to a wav file.
Patched
The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.
Patched
The startread function in wav.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted wav file.