SoX: Multiple buffer overflows — GLSA 200407-23

SoX contains two buffer overflow vulnerabilities in the WAV header parser code.

Affected Packages

media-sound/sox on all architectures
Affected versions <= 12.17.4-r1
Unaffected versions >= 12.17.4-r2

Background

SoX is a command line utility that can convert various formats of computer audio files in to other formats.

Description

Ulf Harnhammar discovered two buffer overflows in the sox and play commands when handling WAV files with specially crafted header fields.

Impact

By enticing a user to play or convert a specially crafted WAV file an attacker could execute arbitrary code with the permissions of the user running SoX.

Workaround

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version of SoX.

Resolution

All SoX users should upgrade to the latest version:

 # emerge sync
 
 # emerge -pv ">=media-sound/sox-12.17.4-r2"
 # emerge ">=media-sound/sox-12.17.4-r2"

References

Release Date
July 30, 2004

Latest Revision
May 22, 2006: 02

Severity
normal

Exploitable
remote

Bugzilla entries