xine-lib: VCD MRL buffer overflow
Gentoo Linux Security Advisory
||GLSA 200408-18 / xine-lib
||August 17, 2004
||May 22, 2006: 02
All supported architectures
xine-lib contains an exploitable buffer overflow in the VCD handling code
xine-lib is a multimedia library which can be utilized to create
xine-lib contains a bug where it is possible to overflow the vcd://
input source identifier management buffer through carefully crafted
An attacker may construct a carefully-crafted playlist file which will
cause xine-lib to execute arbitrary code with the permissions of the
user. In order to conform with the generic naming standards of most
Unix-like systems, playlists can have extensions other than .asx (the
standard xine playlist format), and made to look like another file
(MP3, AVI, or MPEG for example). If an attacker crafts a playlist with
a valid header, they can insert a VCD playlist line that can cause a
buffer overflow and possible shellcode execution.
There is no known workaround at this time. All users are encouraged to
upgrade to the latest available version of xine-lib.
All xine-lib users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge sync
# emerge -pv ">=media-libs/xine-lib-1_rc5-r3"
# emerge ">=media-libs/xine-lib-1_rc5-r3"