Cloudanix VulnDB

CVE-2023-32627

Medium · 5.5

CVSS

5.5

EPSS

0.3%

Published

Jul 10, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

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

  1. Attacker generates a crafted VOC file containing input that triggers improper floating-point handling
  2. Victim or automated system executes SoX locally against the file
  3. read_samples function at voc.c:334 encounters the exception and terminates the process
  4. 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