CVE-2006-3059: Microsoft Excel Malformed Document Buffer Overflow
- Vendor
- Microsoft Corporation
CVE-2006-3059 is a buffer overflow vulnerability in Microsoft Excel that permits arbitrary code execution when a user opens a specially crafted malformed Excel document. Processing the document corrupts memory, allowing attacker-controlled code to execute with the privileges of the user running Excel. Affected products include Excel 2000, Excel 2002, Excel 2003, Excel Viewer 2003, Excel 2004 for Mac, and Excel v. X for Mac. The precise vulnerable function and malformed record type are unspecified. Exploitation was reported before Microsoft published security bulletin MS06-037. This vulnerability is distinct from CVE-2006-3086.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code execution with the affected user's privileges. If that user has administrative rights, an attacker can take complete control of the system, install programs, read, modify, or delete data, and create accounts with full user rights. Exploitation under a less-privileged account limits the attacker's immediate authority.
Mitigation
If you can’t patch tonight, do this now.
Avoid opening untrusted Excel or Office documents and unexpected documents from otherwise trusted sources. Do not rely solely on file-extension filtering, because Excel can open files with nonstandard extensions when their headers are valid. Run Excel with a nonadministrative account to limit the consequences of exploitation. These measures do not correct the underlying vulnerability.
Remediation
Patch, then assume compromise.
Apply the updates supplied by Microsoft Security Bulletin MS06-037: KB918424 for Excel 2000, KB918420 for Excel 2002, KB918419 for Excel 2003, KB918425 for Excel Viewer 2003, KB921213 for Excel 2004 for Mac, and KB921214 for Excel v. X for Mac. The updates correct memory-corruption issues by validating record or message lengths before passing data to allocated buffers.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2006-3059 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2006-3059?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2006-3059. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2006-3059?
- Apply the updates supplied by Microsoft Security Bulletin MS06-037: KB918424 for Excel 2000, KB918420 for Excel 2002, KB918419 for Excel 2003, KB918425 for Excel Viewer 2003, KB921213 for Excel 2004 for Mac, and KB921214 for Excel v. X for Mac.
- What products are affected by CVE-2006-3059?
- Microsoft Corporation Excel and Microsoft Corporation Excel Viewer.
- How severe is CVE-2006-3059?
- CVE-2006-3059 has a CVSS v2 score of 9.3 (Critical) and an EPSS score of 41.1% (99th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.