Vulnerabilities

Vulnerability · CVE-2006-1540

Microsoft Office Improper Control of Generation of Code ('Code Injection')

Published Jul 11, 2006 · catalog updated Jul 11, 2006 · Microsoft Office

Patch now

CVE-2006-1540 is in the CISA known-exploited catalog. Confirm Microsoft Office against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
Unknown—
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
28.63%
Remediation
Remediation guidance
Affected products
vendor Microsoft Office

MSO.DLL in Microsoft Office 2000, Office XP (2002), and Office 2003 allows user-assisted attackers to cause a denial of service and execute arbitrary code via multiple attack vectors, as originally demonstrated using a crafted document record with a malformed string, as demonstrated by replacing a certain "01 00 00 00" byte sequence with an "FF FF FF FF" byte sequence, possibly causing an invalid array index, in (1) an Excel .xls document, which triggers an access violation in ole32.dll; (2) an Excel .xlw document, which triggers an access violation in excel.exe; (3) a Word document, which tri

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor Microsoft Officeversion unspecified

How to fix CVE-2006-1540

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2006-1540 is in the CISA known-exploited catalog. Confirm Microsoft Office against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Affected version ranges are not on this record. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

No weakness class is stored. EPSS 28.63%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 11, 2006 · VulnCheck KEV

    Detected

    MSO.DLL in Microsoft Office 2000, Office XP (2002), and Office 2003 allows user-assisted attackers to cause a denial of service and execute arbitrary code via multiple attack vectors, as originally demonstrated using a crafted document record with a malformed string, as demonstrated by replacing a certain "01 00 00 00" byte sequence with an "FF FF FF FF" byte sequence, possibly causing an invalid

  2. Jul 11, 2006 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Sources

  • CVE.orgVulnerability recordCVE-2006-1540

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2006-1540

    30-day exploitation probability 28.6%

    first.org
  • VulnCheck KEVConfirmed exploitationCVE-2006-1540

    MSO.DLL in Microsoft Office 2000, Office XP (2002), and Office 2003 allows user-assisted attackers to cause a denial of service and execute arbitrary code via multiple attack vectors, as originally demonstrated using a crafted document record with a malformed string, as demonstra

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.