← Vulnerability feed

Vulnerability record · CVE-2007-3901 · published 12 December 2007

CVE-2007-3901: Microsoft DirectX SAMI Parser Stack Buffer Overflow in quartz.dll

Microsoft · Directx

A stack-based buffer overflow exists in the DirectShow Synchronized Accessible Media Interchange (SAMI) parser in quartz.dll, affecting Microsoft DirectX 7.0 through 10.0. A crafted SAMI file can overflow a stack buffer, allowing remote code execution in the context of the parsing process. The flaw is remotely reachable and carries a high CVSS v2 score of 8.5.

8.5 CVSS 2.0 High EPSS 46% · top 1.2% CWE-119 · Memory buffer overflow
8.5CVSS 2.0 base score
46%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
26References
16 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in the DirectShow Synchronized Accessible Media Interchange (SAMI) parser in quartz.dll for Microsoft DirectX 7.0 through 10.0 allows remote attackers to execute arbitrary code via a crafted SAMI file.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityThe flaw allows remote code execution with a CVSS v2 score of 8.5, public exploit code exists, and EPSS is very high, though it is not listed in CISA KEV.

What it is

A stack-based buffer overflow exists in the DirectShow Synchronized Accessible Media Interchange (SAMI) parser in quartz.dll, affecting Microsoft DirectX 7.0 through 10.0. A crafted SAMI file can overflow a stack buffer, allowing remote code execution in the context of the parsing process. The flaw is remotely reachable and carries a high CVSS v2 score of 8.5.

Impact

An attacker who successfully triggers the overflow can execute arbitrary code with the privileges of the user or application processing the SAMI file. This can lead to full compromise of confidentiality, integrity, and availability on the affected host.

Attack surface

The vulnerability is reached over the network by delivering a malicious SAMI file that is parsed by DirectShow. The CVSS vector (AV:N/AC:M/Au:S) indicates network delivery, medium attack complexity, and that some level of authentication or user context is required, with no explicit user interaction stated in the record.

Exploitation

The record does not list this CVE in CISA KEV and provides no ransomware association; EPSS shows a 30-day probability of 0.45873 (98.7th percentile), and a public Exploit-DB entry (4866) exists, indicating exploit code is publicly available.

What to do

  • Apply the Microsoft security update MS07-064 for DirectX/quartz.dll as the primary fix.
  • Block or restrict delivery of untrusted SAMI files through email, web, and file-sharing channels.
  • Disable or unregister the SAMI/DirectShow parsing path where it is not operationally required.
  • Enforce least privilege so that media parsing occurs under a low-privilege account.
  • Monitor vendor advisories and CERT/CC guidance for any updated workarounds.

Detection

  • Monitor for processes loading quartz.dll and subsequently spawning unexpected child processes or making network connections.
  • Inspect email and web gateways for SAMI file attachments or downloads and alert on their presence.
  • Use endpoint detection to flag crashes or memory corruption events in quartz.dll or DirectShow-related processes.
  • Hunt for known public exploit artifacts associated with Exploit-DB 4866 in file or process telemetry.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=632
http://secunia.com/advisories/28010 Vendor Advisory
http://www.iss.net/threats/280.html
http://www.kb.cert.org/vuls/id/804089 US Government Resource
http://www.securityfocus.com/archive/1/485268/100/0/threaded
http://www.securityfocus.com/bid/26789
http://www.securitytracker.com/id?1019073
http://www.us-cert.gov/cas/techalerts/TA07-345A.html US Government Resource
http://www.vupen.com/english/advisories/2007/4180 Vendor Advisory
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-064
https://exchange.xforce.ibmcloud.com/vulnerabilities/38721
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A4520
https://www.exploit-db.com/exploits/4866
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=632
http://secunia.com/advisories/28010 Vendor Advisory
http://www.iss.net/threats/280.html
http://www.kb.cert.org/vuls/id/804089 US Government Resource
http://www.securityfocus.com/archive/1/485268/100/0/threaded
http://www.securityfocus.com/bid/26789
http://www.securitytracker.com/id?1019073
http://www.us-cert.gov/cas/techalerts/TA07-345A.html US Government Resource
http://www.vupen.com/english/advisories/2007/4180 Vendor Advisory
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-064
https://exchange.xforce.ibmcloud.com/vulnerabilities/38721
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A4520
https://www.exploit-db.com/exploits/4866

Track CVE-2007-3901 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2009-1537Microsoft DirectShow QuickTime Parser NULL Byte Overwrite RCEThe QuickTime Movie Parser Filter in quartz.dll (DirectShow, DirectX 7.0 through 9.0c) contains an unspecified NULL byte overwrite flaw. A crafted Qu…KEVEPSS 51%analysed9.3CVE-2012-1537Microsoft directx memory buffer overflow vulnerabilityHeap-based buffer overflow in DirectPlay in DirectX 9.0 through 11.1 in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2,…EPSS 23%9.3CVE-2010-1879Microsoft directx code injection vulnerabilityUnspecified vulnerability in Quartz.dll for DirectShow; Windows Media Format Runtime 9, 9.5, and 11; Media Encoder 9; and the Asycfilt.dll COM compon…EPSS 20%9.3CVE-2010-1880Microsoft directx code injection vulnerabilityUnspecified vulnerability in Quartz.dll for DirectShow on Microsoft Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP2, Vista SP1, and Server 2008 all…EPSS 21%9.3CVE-2009-1538Microsoft directx improper input validation vulnerabilityThe QuickTime Movie Parser Filter in quartz.dll in DirectShow in Microsoft DirectX 7.0 through 9.0c on Windows 2000 SP4, Windows XP SP2 and SP3, and …EPSS 27%9.3CVE-2009-1539Microsoft directx code injection vulnerabilityThe QuickTime Movie Parser Filter in quartz.dll in DirectShow in Microsoft DirectX 7.0 through 9.0c on Windows 2000 SP4, Windows XP SP2 and SP3, and …EPSS 26%9.3CVE-2009-0084Microsoft directx code injection vulnerabilityUse-after-free vulnerability in DirectShow in Microsoft DirectX 8.1 and 9.0 allows remote attackers to execute arbitrary code via an MJPEG file or vi…EPSS 32%9.3CVE-2008-0011Microsoft directx memory buffer overflow vulnerabilityMicrosoft DirectX 8.1 through 9.0c, and DirectX on Microsoft XP SP2 and SP3, Server 2003 SP1 and SP2, Vista Gold and SP1, and Server 2008, does not p…EPSS 32%

Source: NIST National Vulnerability Database (record CVE-2007-3901), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.