xine-lib is a multimedia library which can be utilized to create multimedia frontends.
xine-lib contains two stack-based overflows and one heap-based overflow. In the code reading VCD disc labels, the ISO disc label is copied into an unprotected stack buffer of fixed size. Also, there is a buffer overflow in the code that parses subtitles and prepares them for display (XSA-2004-4). Finally, xine-lib contains a heap-based overflow in the DVD sub-picture decoder (XSA-2004-5).
(Please note that the VCD MRL issue mentioned in XSA-2004-4 was fixed with GLSA 200408-18.)
With carefully-crafted VCDs, DVDs, MPEGs or subtitles, an attacker may cause xine-lib to execute arbitrary code with the permissions of the user.
There is no known workaround at this time.
All xine-lib users should upgrade to the latest version:
# emerge sync
# emerge -pv ">=media-libs/xine-lib-1_rc6"
# emerge ">=media-libs/xine-lib-1_rc6"