CVE-2012-0142
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMicrosoft Excel 2003 SP3, 2007 SP2 and SP3, and 2010 Gold and SP1; Office 2008 for Mac; Excel Viewer; and Office Compatibility Pack SP2 and SP3 do not properly handle memory during the opening of files, which allows remote attackers to execute arbitrary code via a crafted spreadsheet, aka "Excel File Format Memory Corruption in OBJECTLINK Record Vulnerability."
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceMemory corruption vulnerability in Microsoft Excel's handling of OBJECTLINK records when opening specially crafted spreadsheet files. The improper memory handling during file parsing allows an attacker to execute arbitrary code by enticing a user to open a malicious Excel file.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 2003= 2007= 2010all versions= 2008all versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- M
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:M/Au:N/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Microsoft Excel versionOpen Excel, go to File > Account > About Excel, or run 'winword /?' from command prompt (word accesses Office version info), or check registry key HKEY_CLASSES_ROOT\Excel.Application\CLSID and look up version under HKEY_CLASSES_ROOT\CLSID\{CLSID}\VersionAffected if Version matches 2003, 2007, or 2010 (e.g., 11.0, 12.0, 14.0)
-
Check if Microsoft Excel Viewer is installedLook for ExcelViewer installation at C:\Program Files\Microsoft Office\ExcelViewer\XLVIEW.EXE, or check registry under HKEY_CLASSES_ROOT\ExcelViewer.ApplicationAffected if Excel Viewer is present on the system (any version)
-
Check if Microsoft Office Compatibility Pack is installedLook for presence of Excel converter files in C:\Program Files\Microsoft Office\OfficeXX\XLCONV.EXE or check registry under HKEY_CLASSES_ROOT\Word.Application\CompatibilityAffected if Office Compatibility Pack is installed (any version)
-
Verify if Excel can open external filesCheck Excel Trust Center settings under File > Options > Trust Center > Trust Center Settings > External Content, or inspect group policy settings for Office file handling restrictionsAffected if Excel is configured to automatically open files from external or untrusted sources without prompting
Your environment is affected if you have any of the following installed: Excel 2003/2007/2010, Excel Viewer (any version), or Office Compatibility Pack (any version), AND users can open Excel files from external or untrusted sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply Microsoft security updates for affected Office products; users should not open untrusted Excel files from unknown sources. Consider disabling or restricting Excel's ability to open files from external sources as an additional defense.
Apply Microsoft Security Bulletin MS12-030 patches for your respective product version (2003/2007/2010). For long-term security, migrate to supported versions of Microsoft Office (Office 365 or current supported perpetual licenses).
- Apply Microsoft Security Bulletin MS12-030, which addresses this vulnerability in Microsoft Excel and Office products. Download and install the appropriate update for your product version from https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-030
- For Excel 2003 SP3: Install the security update from MS12-030 (KB2597974)
- For Excel 2007 SP2/SP3: Install the security update from MS12-030 (KB2597952)
- For Excel 2010 Gold/SP1: Install the security update from MS12-030 (KB2553073)
- For Office 2008 for Mac: Install the security update from MS12-030 (KB2663826)
- For Excel Viewer: Install the security update from MS12-030 (KB2553075)
- For Office Compatibility Pack SP2/SP3: Install the security update from MS12-030 (KB2597952)
- After applying patches, restart affected systems and verify the updates installed successfully via Windows Update or Add/Remove Programs
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2012-0142 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2012-0142 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data