CVE-2004-0386 in Gentoo Linux and 2 more products
Buffer overflow in the HTTP parser for MPlayer 1.0pre3 and earlier, 0.90, and 0.91 allows remote attackers to execute arbitrary code via a long Location header.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gentoo | Linux | 0.5 0.7 1.1a 1.2 1.4 |
| Mandrakesoft | Mandrake Linux | 9.2 10.0 |
| Mplayer | Mplayer | 0.90 0.90_pre 0.90_rc 0.91 1.0_pre1 1.0_pre2+1 more1.0_pre3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Buffer overflow in the HTTP parser for MPlayer 1.0pre3 and earlier, 0.90, and 0.91 allows remote attackers to execute arbitrary code via a long Location header.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0386 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-158234-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2004-05-04 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability in the HTTP parser of MPlayer versions 1.0pre3 and earlier, 0.90, and 0.91 can be exploited by remote attackers to execute arbitrary code through a long Location header.
The vulnerability arises from improper handling of long Location headers in the HTTP parser, leading to a buffer overflow. An attacker can craft a malicious HTTP response with an excessively long Location header to exploit this vulnerability, potentially leading to remote code execution.
Questions
What is CVE-2004-0386?
A buffer overflow vulnerability in the HTTP parser of MPlayer versions 1.0pre3 and earlier, 0.90, and 0.91 can be exploited by remote attackers to execute arbitrary code through a long Location header.
What is the CVSS score for CVE-2004-0386?
CVE-2004-0386 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 27.0%.
Is CVE-2004-0386 actively exploited?
Public exploit available for CVE-2004-0386. Exploitation risk elevated.
How do I remediate CVE-2004-0386?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2004-0386?
CVE-2004-0386 affects Gentoo Linux; Mandrakesoft Mandrake Linux; Mplayer Mplayer.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gentoo","product":"Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.