Vulnerability Note VU#228028

Microsoft Windows Task Scheduler Buffer Overflow

Original Release date: 13 Jul 2004 | Last revised: 13 Jul 2004


Microsoft Windows Task Scheduler has a buffer overflow that may allow a remote or local intruder to execute arbitrary code.


Microsoft Windows Task Scheduler (Mstask.dll) is a COM-based API (ActiveX control) that provides a scheduling service for executing arbitrary commands on a system. It contains a buffer overflow that is reported to be caused by failing to properly check some attribute of the names of the commands the scheduler is tasked to execute. Exploitation of this overflow could allow an intruder to execute arbitrary code if the intruder can convince the victim to visit a malicious web page or, in some circumstances, open a malicious email message, or a file with the extension .JOB. For more information, see Microsoft Security Bulletin MS04-022.

Microsoft Windows Server 2003 is reportedly not affected by this issue.


An intruder could execute arbitrary code with the privileges of the user logged into a vulnerable system.


Apply a patch as described in Microsoft Security Bulletin MS04-022.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Microsoft CorporationAffected-13 Jul 2004
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



Thanks to Microsoft for reporting this vulnerability in MS04-022.

This document was written by Jeffrey S. Havrilla based on information provided by Microsoft.

Other Information

  • CVE IDs: CAN-2004-0212
  • Date Public: 13 Jul 2004
  • Date First Published: 13 Jul 2004
  • Date Last Updated: 13 Jul 2004
  • Severity Metric: 46.58
  • Document Revision: 4


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