search menu icon-carat-right cmu-wordmark

CERT Coordination Center

MPlayer contains a buffer overflow in the HTTP parser

Vulnerability Note VU#723910

Original Release Date: 2004-04-09 | Last Revised: 2004-04-09


MPlayer fails to properly allocate a memory buffer for URL strings containing characters that need to be escaped.


MPlayer is a movie player for Linux and other Unix-based operating systems. MPlayer fails to properly allocate a memory buffer for URL strings containing characters that need to be escaped. When escaping characters in a URL, a single character may be replaced by three. For instance, the space character may be replaced by %20. There is a vulnerability in the way MPlayer allocates memory to store the escaped representation of the URL. By sending a "Location" HTTP header containing an overly long URL with many un-escaped characters, an attacker can trigger a buffer overflow.

According to the MPlayer Advisory, the following versions are affected:

    • MPlayer 0.90pre series
    • MPlayer 0.90rc series
    • MPlayer 0.90
    • MPlayer 0.91
    • MPlayer 1.0pre1
    • MPlayer 1.0pre2
    • MPlayer 1.0pre3


By convincing a user to play a media file containing a specially crafted "Location" HTTP header, an attacker could cause MPlayer to crash or potentially execute code of the attacker's choice with privileges of the victim.


UpgradeAccording to the MPlayer Advisory, users of MPlayer 1.0pre3 should upgrade to the latest CVS. MPlayer 0.92 (and below) users should upgrade to 0.92.1 or the latest CVS.

Apply Patch

Apply a patch as specified by your vendor. If a patch is unavailable from your vendor, the maintainers of MPlayer have provided a patch for all vulnerable versions. This patch can be obtained from:

Vendor Information



Updated:  April 09, 2004



Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


Please refer to the MPlayer Security Advisory "Exploitable remote buffer overflow vulnerability in the HTTP parser".

If you have feedback, comments, or additional information about this vulnerability, please send us email.

CVSS Metrics

Group Score Vector
Base 0 AV:--/AC:--/Au:--/C:--/I:--/A:--
Temporal 0 E:ND/RL:ND/RC:ND
Environmental 0 CDP:ND/TD:M/CR:ND/IR:ND/AR:ND



This vulnerability was reported by blexim.

This document was written by Damon Morda.

Other Information

CVE IDs: None
Severity Metric: 1.35
Date Public: 2004-03-31
Date First Published: 2004-04-09
Date Last Updated: 2004-04-09 13:48 UTC
Document Revision: 19

Sponsored by CISA.