CVE-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…
Check your servers for CVE-2006-1540
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2006-1540 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 triggers an access violation in mso.dll in winword.exe; and (4) a PowerPoint document, which triggers an access violation in powerpnt.txt. NOTE: after the initial disclosure, this issue was demonstrated by triggering an integer overflow using an inconsistent size for a Unicode "Sheet Name" string.
Exploitation
EPSS 28.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.5% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2006-1540 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2006-1540RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2006-1540Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2006-1540
trivy image --scanners vuln IMAGE | grep CVE-2006-1540
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 21012 secunia.com · third party advisory
- MS06-038 docs.microsoft.com · vendor advisory
- VU#609868 kb.cert.org · third party advisory
- TA06-192A us-cert.gov · third party advisory
Exploits and proof of concept
- 1615 exploit-db.com · exploit
Other references
- 20060710 SYMSA-2006-007: Microsoft Office Malformed String Parsing Vulnerability securityfocus.com · mailing list
- ADV-2006-2756 vupen.com · vdb entry
- office-string-parse-bo(27607) exchange.xforce.ibmcloud.com · vdb entry
- office-property-string-bo(27609) exchange.xforce.ibmcloud.com · vdb entry
- 17252 securityfocus.com · vdb entry
- 18889 securityfocus.com · vdb entry
- 27150 osvdb.org · vdb entry
- oval:org.mitre.oval:def:639 oval.cisecurity.org · vdb entry, signature
- 1015855 securitytracker.com · vdb entry
Source: the record CVE-2006-1540 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse