search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Microsoft XML Core Services XMLDOM substringData() buffer overflow

Vulnerability Note VU#361968

Original Release Date: 2007-08-14 | Last Revised: 2007-08-15


Microsoft XML Core Services contains an unspecified memory corruption vulnerability, which may allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.


Microsoft XML Core Services (MSXML) allow developers who use JScript, Visual Basic Scripting Edition (VBScript), and Microsoft Visual Studio 6.0 to create XML-based applications. MSXML includes several ActiveX controls to allow XML support in Internet Explorer and other applications.

The MSXML XMLDOM object contains a buffer overflow vulnerability in the substringData() method.


By convincing a user to view a specially crafted HTML document (e.g., a web page or an HTML email message or attachment), an attacker may be able to execute arbitrary code with the privileges of the user.


Apply an update
This issue is addressed by Microsoft Security Bulletin MS07-042. This update provides updated versions of MSXML.

Disable ActiveX and Active Scripting

Disabling ActiveX controls and Active Scripting in the Internet Zone (or any zone used by an attacker) appears to prevent exploitation of this and other ActiveX vulnerabilities. Instructions for disabling ActiveX in the Internet Zone can be found in the "Securing Your Web Browser" document. 

Vendor Information


Microsoft Corporation Affected

Updated:  August 14, 2007



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.


This issue is addressed by Microsoft Security Bulletin MS07-042. This update provides updated versions of MSXML.

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

CVSS Metrics

Group Score Vector



Thanks to Microsft for reporting this vulnerability, who in turn credit anonymous researchers working with Verisign iDefense VCP and Zero Day Initiative.

This document was written by Will Dormann.

Other Information

CVE IDs: CVE-2007-2223
Severity Metric: 24.10
Date Public: 2007-08-14
Date First Published: 2007-08-14
Date Last Updated: 2007-08-15 18:20 UTC
Document Revision: 9

Sponsored by CISA.