MPlayer: Heap overflow in ad_pcm.c

Security Team  Contact Address

Updated September 01, 2005

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200509-01 / MPlayer
Release Date September 01, 2005
Latest Revision September 01, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-video/mplayer < 1.0_pre7-r1 >= 1.0_pre7-r1 All supported architectures

Related bugreports: #103555

Synopsis

A heap overflow in MPlayer might lead to the execution of arbitrary code.

2.  Impact Information

Background

MPlayer is a media player capable of handling multiple multimedia file formats.

Description

Sven Tantau discovered a heap overflow in the code handling the strf chunk of PCM audio streams.

Impact

An attacker could craft a malicious video or audio file which, when opened using MPlayer, would end up executing arbitrary code on the victim's computer with the permissions of the user running MPlayer.

3.  Resolution Information

Workaround

You can mitigate the issue by adding "ac=-pcm," to your MPlayer configuration file (note that this will prevent you from playing uncompressed audio).

Resolution

All MPlayer users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-video/mplayer-1.0_pre7-r1"

4.  References