Improper input validation in Speex might lead to array indexing vulnerabilities in multiple player applications.
|Package||media-libs/speex on all architectures|
|Affected versions||< 1.2_beta3_p2|
|Unaffected versions||>= 1.2_beta3_p2|
Speex is an audio compression format designed for speech that is free of patent restrictions.
oCERT reported that the Speex library does not properly validate the "mode" value it derives from Speex streams, allowing for array indexing vulnerabilities inside multiple player applications. Within Gentoo, xine-lib, VLC, gst-plugins-speex from the GStreamer Good Plug-ins, vorbis-tools, libfishsound, Sweep, SDL_sound, and speexdec were found to be vulnerable.
A remote attacker could entice a user to open a specially crafted Speex file or network stream with an application listed above. This might lead to the execution of arbitrary code with privileges of the user playing the file.
There is no known workaround at this time.
All Speex users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-libs/speex-1.2_beta3_p2"
April 17, 2008
April 17, 2008: 01