CVE-2017-11358
The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to...
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.
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
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2017-11358- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/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-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-11358- Updated
- 2026-11-02
EUVDEUVD-2017-2987 No score
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.
- Record
EUVD-2017-2987- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x8jm-gv8p-6967
5.5
The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to...
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.
- Record
GHSA-x8jm-gv8p-6967- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2017-11358- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-11358
5.5
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.
- Record
DEBIAN-CVE-2017-11358- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2017-11358
5.5
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.
- Record
UBUNTU-CVE-2017-11358- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0211 No score
Updated sox packages fix security vulnerabilities
This update for sox fixes the following security issues:
- CVE-2017-11332: Fixed the startread function in wav.c, which allowed remote attackers to cause a DoS (divide-by-zero) via a crafted wav file.
- CVE-2017-11358: Fixed the read_samples function in hcom.c, which allowed remote attackers to cause a DoS (invalid memory read) via a crafted hcom file.
- CVE-2017-11359: Fixed the wavwritehdr function in wav.c, which allowed remote attackers to cause a DoS (divide-by-zero) when converting a a crafted snd file to a wav file.
- CVE-2017-15372: Fixed a stack-based buffer overflow in the lsx_ms_adpcm_block_expand_i function of adpcm.c, which allowed remote attackers to cause a DoS during conversion of a crafted audio file.
- CVE-2017-15642: Fixed an Use-After-Free vulnerability in lsx_aiffstartread in aiff.c, which could be triggered by an attacker by providing a malformed AIFF file.
- CVE-2017-18189: 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.
- Record
MGASA-2018-0211- Updated
- 2026-11-02
OSVopenSUSE-SU-2018:0489-1 No score
Security update for sox
This update for sox fixes the following issues:
- CVE-2017-11332: Fixed the startread function in wav.c, which allowed remote attackers to cause a DoS (divide-by-zero) via a crafted wav file. (boo#1081140)
- CVE-2017-11358: Fixed the read_samples function in hcom.c, which allowed remote attackers to cause a DoS (invalid memory read) via a crafted hcom file. (boo#1081141)
- CVE-2017-11359: Fixed the wavwritehdr function in wav.c, which allowed remote attackers to cause a DoS (divide-by-zero) when converting a a crafted snd file to a wav file. (boo#1081142)
- CVE-2017-15370: Fixed a heap-based buffer overflow in the ImaExpandS function of ima_rw.c, which allowed remote attackers to cause a DoS during conversion of a crafted audio file. (boo#1063439)
- CVE-2017-15371: Fixed an assertion abort in the function sox_append_comment() in formats.c, which allowed remote attackers to cause a DoS during conversion of a crafted audio file. (boo#1063450)
- CVE-2017-15372: Fixed a stack-based buffer overflow in the lsx_ms_adpcm_block_expand_i function of adpcm.c, which allowed remote attackers to cause a DoS during conversion of a crafted audio file. (boo#1063456)
- CVE-2017-15642: Fixed an Use-After-Free vulnerability in lsx_aiffstartread in aiff.c, which could be triggered by an attacker by providing a malformed AIFF file. (boo#1064576)
- CVE-2017-18189: Fixed a NULL pointer dereference triggered by a corrupt header specifying zero channels in the startread function in xa.c, which allowed remote attackers to cause a DoS (boo#1081146).
- Record
openSUSE-SU-2018:0489-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2018:0493-1 No score
Security update for sox
This update for sox fixes the following issues:
- CVE-2017-11332: Fixed the startread function in wav.c, which allowed remote attackers to cause a DoS (divide-by-zero) via a crafted wav file. (boo#1081140)
- CVE-2017-11358: Fixed the read_samples function in hcom.c, which allowed remote attackers to cause a DoS (invalid memory read) via a crafted hcom file. (boo#1081141)
- CVE-2017-11359: Fixed the wavwritehdr function in wav.c, which allowed remote attackers to cause a DoS (divide-by-zero) when converting a a crafted snd file to a wav file. (boo#1081142)
- CVE-2017-15370: Fixed a heap-based buffer overflow in the ImaExpandS function of ima_rw.c, which allowed remote attackers to cause a DoS during conversion of a crafted audio file. (boo#1063439)
- CVE-2017-15371: Fixed an assertion abort in the function sox_append_comment() in formats.c, which allowed remote attackers to cause a DoS during conversion of a crafted audio file. (boo#1063450)
- CVE-2017-15372: Fixed a stack-based buffer overflow in the lsx_ms_adpcm_block_expand_i function of adpcm.c, which allowed remote attackers to cause a DoS during conversion of a crafted audio file. (boo#1063456)
- CVE-2017-15642: Fixed an Use-After-Free vulnerability in lsx_aiffstartread in aiff.c, which could be triggered by an attacker by providing a malformed AIFF file. (boo#1064576)
- CVE-2017-18189: Fixed a NULL pointer dereference triggered by a corrupt header specifying zero channels in the startread function in xa.c, which allowed remote attackers to cause a DoS (boo#1081146).
- Record
openSUSE-SU-2018:0493-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11394-1 No score
libsox3-14.4.2-5.17 on GA media
These are all security issues fixed in the libsox3-14.4.2-5.17 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11394-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
soxDebian:12 |
before 14.4.2-2 | 14.4.2-2 |
soxDebian:13 |
before 14.4.2-2 | 14.4.2-2 |
soxDebian:7 From an advisory covering 9 CVEs |
before 14.4.0-3+deb7u2, plus listed versions 14.4.0-314.4.0-3+deb7u1 |
14.4.0-3+deb7u2 |
soxDebian:8 From an advisory covering 4 CVEs |
before 14.4.1-5+deb8u3, plus listed versions 14.4.1-514.4.1-5+deb8u114.4.1-5+deb8u2 |
14.4.1-5+deb8u3 |
soxMageia:5 From an advisory covering 6 CVEs |
before 14.4.1-6.3.mga5 | 14.4.1-6.3.mga5 |
soxMageia:6 From an advisory covering 6 CVEs |
before 14.4.2-7.3.mga6 | 14.4.2-7.3.mga6 |
soxUbuntu:14.04:LTS |
before 14.4.1-3ubuntu1.1, plus listed versions 14.4.1-314.4.1-3ubuntu1 |
14.4.1-3ubuntu1.1 |
soxUbuntu:16.04:LTS |
before 14.4.1-5ubuntu0.1, plus listed versions 14.4.1-5 |
14.4.1-5ubuntu0.1 |
soxSUSE:Package Hub 12 SP3 From an advisory covering 8 CVEs |
before 14.4.2-5.1 | 14.4.2-5.1 |
soxopenSUSE:Tumbleweed From an advisory covering 8 CVEs |
before 14.4.2-5.17 | 14.4.2-5.17 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Sound eXchange (SoX) 14.4.2 - Multiple Vulnerabilities | 2017-07-31 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-11358 is a medium vulnerability (CVSS 5.5) in Sound Exchange Project Exchange, published July 31, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 7.40%, the 94th percentile. Fixed in sox 14.4.2-2.
References
exploit-db.com/exploits/42398
lists.debian.org/debian-lts-announce/2017/11/msg00043.html
seclists.org/fulldisclosure/2017/Jul/81
security.gentoo.org/glsa/201810-02
lists.debian.org/debian-lts-announce/2019/03/msg00007.html
openwall.com/lists/oss-security/2023/02/03/3
Show 26 moreShow less
openwall.com/lists/oss-security/2023/02/04/2
openwall.com/lists/oss-security/2023/02/05/1
openwall.com/lists/oss-security/2023/02/06/1
nvd.nist.gov/vuln/detail/CVE-2017-11358
github.com/advisories/GHSA-x8jm-gv8p-6967
security-tracker.debian.org/tracker/CVE-2017-11358
advisories.mageia.org/MGASA-2018-0211.html
bugs.mageia.org/show_bug.cgi?id=22615
ubuntu.com/security/CVE-2017-11358
cve.org/CVERecord?id=CVE-2017-11358
bugzilla.suse.com/1063439
bugzilla.suse.com/1063450
bugzilla.suse.com/1063456
bugzilla.suse.com/1064576
bugzilla.suse.com/1081140
bugzilla.suse.com/1081141
bugzilla.suse.com/1081142
bugzilla.suse.com/1081146
suse.com/security/cve/CVE-2017-11332
suse.com/security/cve/CVE-2017-11358
suse.com/security/cve/CVE-2017-11359
suse.com/security/cve/CVE-2017-15370
suse.com/security/cve/CVE-2017-15371
suse.com/security/cve/CVE-2017-15372
suse.com/security/cve/CVE-2017-15642
suse.com/security/cve/CVE-2017-18189