xine-lib: VCD MRL buffer overflow — GLSA 200408-18

xine-lib contains an exploitable buffer overflow in the VCD handling code

Affected packages

media-libs/xine-lib on all architectures
Affected versions <= 1_rc5-r2
Unaffected versions >= 1_rc5-r3


xine-lib is a multimedia library which can be utilized to create multimedia frontends.


xine-lib contains a bug where it is possible to overflow the vcd:// input source identifier management buffer through carefully crafted playlists.


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:

 # emerge sync
 # emerge -pv ">=media-libs/xine-lib-1_rc5-r3"
 # emerge ">=media-libs/xine-lib-1_rc5-r3"


Release date
August 17, 2004

Latest revision
May 22, 2006: 02



Bugzilla entries