CVE-2023-34318
Heap-buffer-overflow in src/hcom.c
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
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
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
Heap-buffer-overflow in src/hcom.c
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
- Record
CVE-2023-34318- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2023-38399
7.8
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
- Record
EUVD-2023-38399- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f26w-p752-7ggh
7.8
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom...
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
- Record
GHSA-f26w-p752-7ggh- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
NVD
7.8
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
- Record
CVE-2023-34318- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
OSVAZL-44005
7.8
CVE-2023-34318 affecting package sox 14.4.2.0-34
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
- Record
AZL-44005- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-44595
7.8
CVE-2023-34318 affecting package sox 14.4.2.0-34
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
- Record
AZL-44595- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-05
Show 6 moreShow less
OSV
7.8
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
- Record
CVE-2023-34318- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-34318
7.8
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.
- Record
DEBIAN-CVE-2023-34318- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2023-1931
7.8
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):
A vulnerability was found in SoX, where a heap-buffer-overflow occurs in function lsx_read_w_buf() in formats_i.c file. The vulnerability is exploitable with a crafted file, that could cause an application to crash.(CVE-2021-23159)
A vulnerability was found in SoX, where a heap-buffer-overflow occurs in function startread() in hcom.c file. The vulnerability is exploitable with a crafted hcomn file, that could cause an application to crash.(CVE-2021-23172)
A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.(CVE-2021-23210)
A floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.(CVE-2021-33844)
A floating point exception vulnerability was found in sox, in the lsx_aiffstartwrite function at sox/src/aiff.c:622:58. This flaw can lead to a denial of service.(CVE-2023-26590)
A floating point exception vulnerability was found in sox, in the read_samples function at sox/src/voc.c:334:18. This flaw can lead to a denial of service.(CVE-2023-32627)
A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34318)
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.(CVE-2023-34432)
- Record
OESA-2023-1931- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - 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
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
soxAzure Linux:2 |
through 14.4.2.0-34 | None known |
soxAzure Linux:3 |
through 14.4.2.0-34 | None known |
soxDebian:12 |
before 14.4.2+git20190427-3.2 | 14.4.2+git20190427-3.2 |
soxDebian:13 |
before 14.4.2+git20190427-3.2 | 14.4.2+git20190427-3.2 |
soxopenEuler:20.03-LTS-SP1 From an advisory covering 8 CVEs |
before 14.4.2.0-29.oe1 | 14.4.2.0-29.oe1 |
soxopenEuler:20.03-LTS-SP3 From an advisory covering 8 CVEs |
before 14.4.2.0-29.oe1 | 14.4.2.0-29.oe1 |
soxopenEuler:22.03-LTS From an advisory covering 8 CVEs |
before 14.4.2.0-29.oe2203sp2 | 14.4.2.0-29.oe2203sp2 |
soxopenEuler:22.03-LTS-SP1 From an advisory covering 8 CVEs |
before 14.4.2.0-29.oe2203sp1 | 14.4.2.0-29.oe2203sp1 |
soxopenEuler:22.03-LTS-SP2 From an advisory covering 8 CVEs |
before 14.4.2.0-29.oe2203sp2 | 14.4.2.0-29.oe2203sp2 |
soxSUSE:Package Hub 15 SP4 From an advisory covering 10 CVEs |
before 14.4.2-bp154.2.3.1 | 14.4.2-bp154.2.3.1 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
soxopenSUSE:Leap 15.4 From an advisory covering 10 CVEs |
before 14.4.2-bp154.2.3.1 | 14.4.2-bp154.2.3.1 |
soxSUSE:Package Hub 15 SP5 From an advisory covering 10 CVEs |
before 14.4.2-bp155.3.3.1 | 14.4.2-bp155.3.3.1 |
soxopenSUSE:Leap 15.5 From an advisory covering 10 CVEs |
before 14.4.2-bp155.3.3.1 | 14.4.2-bp155.3.3.1 |
soxopenSUSE:Tumbleweed From an advisory covering 9 CVEs |
before 14.4.2-8.1 | 14.4.2-8.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-34318 is a high vulnerability (CVSS 7.8) in Fedora Extra Packages For Enterprise Linux, published July 10, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.27%, the 20th percentile. Fixed in sox 14.4.2+git20190427-3.2.
References
access.redhat.com/security/cve/CVE-2023-34318
bugzilla.redhat.com/show_bug.cgi?id=2212283
nvd.nist.gov/vuln/detail/CVE-2023-34318
github.com/advisories/GHSA-f26w-p752-7ggh
security-tracker.debian.org/tracker/CVE-2023-34318
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1931
Show 23 moreShow less
nvd.nist.gov/vuln/detail/CVE-2021-23159
nvd.nist.gov/vuln/detail/CVE-2021-23172
nvd.nist.gov/vuln/detail/CVE-2021-23210
nvd.nist.gov/vuln/detail/CVE-2021-33844
nvd.nist.gov/vuln/detail/CVE-2023-26590
nvd.nist.gov/vuln/detail/CVE-2023-32627
nvd.nist.gov/vuln/detail/CVE-2023-34432
lists.opensuse.org/archives/list/[email protected]/thread/E6JOTRIOEMXEYXNHM2HOXMVP2MMLL3Y6
bugzilla.suse.com/1212060
bugzilla.suse.com/1212061
bugzilla.suse.com/1212062
bugzilla.suse.com/1212063
suse.com/security/cve/CVE-2019-13590
suse.com/security/cve/CVE-2021-23159
suse.com/security/cve/CVE-2021-33844
suse.com/security/cve/CVE-2021-3643
suse.com/security/cve/CVE-2021-40426
suse.com/security/cve/CVE-2022-31650
suse.com/security/cve/CVE-2022-31651
suse.com/security/cve/CVE-2023-32627
suse.com/security/cve/CVE-2023-34318
suse.com/security/cve/CVE-2023-34432
lists.opensuse.org/archives/list/[email protected]/thread/OWH3Y6RJSLCAZ7XAIEM2FMD5E6EQYZM5