Vulnerability Note VU#804089

Microsoft DirectX SAMI parsing buffer overflow

Original Release date: 14 Dec 2007 | Last revised: 14 Dec 2007


Microsoft DirectX is vulnerable to a stack-based buffer overflow. This vulnerability may allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.


Microsoft DirectX is a feature of the Microsoft Windows operating system used for streaming multimedia content. DirectX integrates DirectShow technology to provide high-quality capture of streaming media such as video and audio. A stack-based buffer overflow exists due to DirectShow's improper parsing of Synchonized Accessible Media Interchange (SAMI) files. By successfully persuading a user to access a specially crafted SAMI file, a remote, unauthenticated attacker could trigger the buffer overflow.


A remote, unauthenticated attacker could execute arbitrary code on a vulnerable system.


Microsoft has published Microsoft Security Bulletin MS07-064 in response to this issue. Users are strongly encouraged to review this bulletin and apply the referenced patches.

In addition to the patches referenced above, Microsoft has published workarounds for this issue. Users who are unable to apply the patches are strongly encouraged to implement these workarounds as appropriate.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Microsoft CorporationAffected-14 Dec 2007
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



Microsoft credits Jun Mao of VeriSign iDefense Labs for reporting this vulnerability.

This document was written by Joseph W. Pruszynski.

Other Information

  • CVE IDs: CVE-2007-3901
  • Date Public: 11 Dec 2007
  • Date First Published: 14 Dec 2007
  • Date Last Updated: 14 Dec 2007
  • Severity Metric: 7.25
  • Document Revision: 8


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