CVE-2023-32627
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Jul 10, 2023
CISA due date
—
Cloudanix analysis
A flaw in a popular sound-file tool can make it crash when it tries to open certain audio files, which may interrupt any automated tasks that convert or process sound.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A floating point exception in the read_samples function at voc.c:334 triggers a crash when processing malformed VOC audio files, resulting in denial of service.
Why it matters to the business
Organizations relying on SoX for audio file conversion or processing may experience workflow interruptions or service outages when untrusted VOC files are handled; low EPSS and absence from KEV indicate limited real-world exploitation pressure, though downstream dependents in Fedora and RHEL ecosystems increase exposure surface.
How an attack unfolds
An attacker crafts a specially malformed VOC file that reaches the vulnerable read_samples code path; when a local user or automated process invokes SoX on the file, the floating point exception aborts execution, denying service without requiring elevated privileges.
How to fix it
Upgrade SoX to a version containing a fix for the voc.c floating-point exception; where no fixed release is yet published, replace SoX usage with alternative audio tools or wrap invocations with input sanitization and sandboxing to prevent untrusted file processing.
How to confirm the fix worked
Confirm the presence of the vulnerable read_samples function in voc.c and test with known-malformed VOC samples; after upgrade, re-run the same test files to verify the exception no longer occurs and monitor process stability.
Typical attack path
- Attacker generates a crafted VOC file containing input that triggers improper floating-point handling
- Victim or automated system executes SoX locally against the file
- read_samples function at voc.c:334 encounters the exception and terminates the process
- Service or batch job using SoX becomes unavailable until restart
How to detect it
Search system and application logs for SoX process crashes accompanied by floating-point exception signals while processing .voc files; review audit logs for invocations of the sox binary against files originating from untrusted sources.
- sox.*floating point exception
- voc.c:334
- read_samples.*SIGFPE
What your security team should do
- Prioritize patching SoX on all Fedora, RHEL, and direct installations within 30 days given the 1185-day disclosure window
- Inventory all scripts and services that invoke SoX on user-supplied audio files
- Implement file-type whitelisting or sandbox execution for any remaining SoX usage until patches are applied
- Update vulnerability management dashboards to reflect the low EPSS score and non-KEV status while still tracking remediation
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | sox | 0 | 14.4.2+git20190427-1+deb10u3 |
| Debian:11 | sox | 0 | No fix |
| Debian:12 | sox | 0 | No fix |
| Debian:13 | sox | 0 | 14.4.2+git20190427-4 |
| SUSE:Package Hub 15 SP4 | sox | 0 | 14.4.2-bp154.2.3.1 |
| SUSE:Package Hub 15 SP5 | sox | 0 | 14.4.2-bp155.3.3.1 |
| Ubuntu:20.04:LTS | sox | 0 | 14.4.2+git20190427-2+deb11u2ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | sox | 0 | 14.4.2+git20190427-2+deb11u2ubuntu0.22.04.1 |
| Ubuntu:24.04:LTS | sox | 0 | No fix |
| Ubuntu:24.10 | sox | 0 | 14.4.2+git20190427-4build4 |
| Ubuntu:Pro:14.04:LTS | sox | 0 | 14.4.1-3ubuntu1.1+esm4 |
| Ubuntu:Pro:16.04:LTS | sox | 0 | 14.4.1-5+deb8u4ubuntu0.1+esm3 |
| Ubuntu:Pro:18.04:LTS | sox | 0 | 14.4.2-3ubuntu0.18.04.3+esm1 |
| openSUSE:Leap 15.4 | sox | 0 | 14.4.2-bp154.2.3.1 |
| openSUSE:Leap 15.5 | sox | 0 | 14.4.2-bp155.3.3.1 |
| openSUSE:Tumbleweed | sox | 0 | 14.4.2-8.1 |
Related vulnerabilities
- CVE-2021-33844 A floating point exception (divide-by-zero) issue was discovered in SoX in functon… Also affects sox
- CVE-2022-31651 In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a. Also affects sox
- CVE-2022-31650 In SoX 14.4.2, there is a floating-point exception in lsx_aiffstartwrite in aiff.c in… Also affects sox
- CVE-2021-40426 A heap-based buffer overflow vulnerability exists in the sphere.c start_read()… Also affects sox
- CVE-2023-26590 A floating point exception vulnerability was found in sox, in the lsx_aiffstartwrite… Also affects sox
- CVE-2019-8354 An issue was discovered in SoX 14.4.2. Also affects sox
- CVE-2004-0557 Multiple buffer overflows in the st_wavstartread function in wav.c for Sound eXchange… Also affects sox
- CVE-2026-101913 ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in… CWE-697