MplayerApplication

CVE-2007-1387

MEDIUM · 6.8 CVSS v2.0 Published 2007-03-13
Fix available
A fix is available. Upgrade to after 1.0_rc1 or later.
See remediation →
74/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The DirectShow loader (loader/dshow/DS_VideoDecoder.c) in MPlayer 1.0rc1 and earlier, as used in xine-lib, does not set the biSize before use in a memcpy, which allows user-assisted remote attackers to cause a buffer overflow and possibly execute arbitrary code, a different vulnerability than CVE-2007-1246.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The DirectShow loader in MPlayer 1.0rc1 and earlier (also used in xine-lib) fails to initialize the biSize field of a bitmap info header structure before passing it to memcpy. This causes a buffer overflow when the uninitialized value is used as the copy length, potentially allowing remote attackers to execute arbitrary code via user-assisted attack vectors (e.g., malicious media file).

MitigationUpgrade to MPlayer 1.0rc2 or later, or apply a patch that ensures biSize is properly initialized before the memcpy operation in loader/dshow/DS_VideoDecoder.c.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
MplayerApplication
Affected:<= 1.0_rc1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Authentication
Multiple
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:H/Au:M/C:C/I:C/A:C

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed MPlayer version
    Run 'mplayer -version' or check package manager for mplayer package version
    Affected if Version is 1.0rc1 or earlier (any version <= 1.0_rc1)
  2. Determine if DirectShow loader is compiled
    Check if the 'loader' directory containing dshow components is present in the MPlayer installation; look for DS_VideoDecoder.c or compiled DS_VideoDecoder.o
    Affected if DirectShow loader component (loader/dshow) is built and present
  3. Verify the vulnerable code pattern exists
    If source is available, inspect loader/dshow/DS_VideoDecoder.c for bitmap info header handling around memcpy calls where biSize field may be used uninitialized
    Affected if Code shows biSize passed to memcpy without prior initialization in the relevant function
  4. Check for xine-lib usage if applicable
    If using xine-lib as the media playback backend, identify xine-lib version via 'xine-config --version' or package manager
    Affected if xine-lib is used and version is vulnerable to the same DirectShow loader flaw

You are affected if running MPlayer version 1.0rc1 or earlier with the DirectShow loader component compiled and in use, where uninitialized biSize values could be triggered during media file processing.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to a release after 1.0_rc1
Interim mitigation

Upgrade to MPlayer 1.0rc2 or later, or apply a patch that ensures biSize is properly initialized before the memcpy operation in loader/dshow/DS_VideoDecoder.c.

Fix this in Mplayer Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing4.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,720
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,752.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2007-1387 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2007-1387 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data