CVE DatabaseCVE-2009-3129
한국어 권고문 →
CVE-2009-31297.8/HIGHCISA KEVCWE-787CWE-787

Microsoft Excel FEATHEADER Record Memory Corruption and Remote Code Execution Vulnerability (CVE-2009-3129)

⚡ Jump to Patch
Affected Vendors
microsoft, apple
Affected Components
excel, office, office_for_mac, excel_viewer, office_compatibility_pack
Published Date
2009-11-11
CVSS v3.1
7.8
HIGH
EPSS (30d)
84.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft Excel 2002/2003/2007, Office 2004/2008 for Mac, Excel Viewer, and Office Compatibility Pack

Impact

Opening a specially crafted spreadsheet containing a malicious FEATHEADER record can trigger memory corruption, leading to arbitrary code execution

Mitigation

Apply the official Microsoft MS09-067 security update immediately and restrict opening untrusted legacy Office documents

Affected Products & Version Scope

Microsoft Excel 2002 SP3, 2003 SP3, 2007 SP1/SP2, Office 2004/2008 for Mac, Open XML File Format Converter for Mac, Excel Viewer 2003 SP3, Excel Viewer SP1/SP2, Office Compatibility Pack SP1/SP2

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

This vulnerability was addressed in the MS09-067 security update. In modern enterprise environments, ensure that all legacy Office installations are updated or migrated. You can force Windows Update to scan and install Microsoft Office updates using PowerShell:

powershell
# Install and run Windows Update module to fetch Microsoft Office security patches
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -MicrosoftUpdate -Category 'Security Updates' -AcceptAll -Install

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, you can configure File Block settings via the registry to prevent Excel from opening legacy binary files (.xls) containing potential exploits.

powershell
# Block Excel 2007 from opening legacy binary files via Registry
$registryPath = 'HKCU:\Software\Policies\Microsoft\Office\12.0\Excel\Security\FileOpenBlock'
if (-not (Test-Path $registryPath)) {
    New-Item -Path $registryPath -Force
}
New-ItemProperty -Path $registryPath -Name 'BinaryFiles' -Value 1 -PropertyType DWord -Force

3. Log Audit & IoC Verification Commands

Use the following PowerShell script to audit the installed Excel executable versions on endpoints to identify vulnerable installations.

powershell
# Audit local Excel executable versions to detect vulnerable builds
$excelPaths = @(
    'C:\Program Files\Microsoft Office\Office12\EXCEL.EXE',
    'C:\Program Files (x86)\Microsoft Office\Office12\EXCEL.EXE',
    'C:\Program Files\Microsoft Office\Office11\EXCEL.EXE'
)

foreach ($path in $excelPaths) {
    if (Test-Path $path) {
        $versionInfo = (Get-Item $path).VersionInfo
        Write-Host 'Excel detected at:' $path -ForegroundColor Cyan
        Write-Host 'File Version:' $versionInfo.ProductVersion -ForegroundColor Yellow
        # Excel 2007 patched version should be 12.0.6520.5000 or higher.
    }
}
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Immediately upgrade legacy Microsoft Excel installations to supported versions or apply the MS09-067 cumulative security patch.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability is an out-of-bounds write (CWE-787) that occurs when Microsoft Excel parses specific records within the Binary Interchange File Format (BIFF) structure. Specifically, when processing the 'FEATHEADER' record, Excel fails to properly validate the header data size element ('cbHdrData'). This lack of validation leads to an incorrect pointer offset calculation, resulting in memory corruption in adjacent heap or stack memory spaces.

2. Exploitation Mechanics & Attack Scenario

An attacker can exploit this vulnerability by constructing a malicious XLS spreadsheet containing a FEATHEADER record with an invalid, oversized 'cbHdrData' value. The attacker then delivers this file to the target user via social engineering vectors such as spear-phishing emails or malicious web downloads. When the victim opens the file, the Excel parser processes the malformed record, triggers the memory corruption, hijacks the execution flow (EIP/RIP), and executes arbitrary shellcode under the security context of the logged-in user.

3. Infrastructure & Business Impact

As this vulnerability is listed in the CISA KEV catalog, it has been actively exploited in the wild. Successful exploitation allows remote attackers to gain complete control over the victim's endpoint. This can serve as an initial entry point for lateral movement within the corporate network, leading to sensitive data exfiltration, ransomware deployment, and severe business disruption.

Official Vendor Advisories & References

NVD Original English Description

Microsoft Office Excel 2002 SP3, 2003 SP3, and 2007 SP1 and SP2; Office 2004 and 2008 for Mac; Open XML File Format Converter for Mac; Office Excel Viewer 2003 SP3; Office Excel Viewer SP1 and SP2; and Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats SP1 and SP2 allows remote attackers to execute arbitrary code via a spreadsheet with a FEATHEADER record containing an invalid cbHdrData size element that affects a pointer offset, aka "Excel Featheader Record Memory Corruption Vulnerability."

Frequently Asked SecOps Questions (CVE-2009-3129)

FAQ

Q1. How critical is CVE-2009-3129 and is it actively exploited in the wild?

CVE-2009-3129 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 84.0%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2009-3129?

Primary impacted vendors include microsoft, apple across excel, office, office_for_mac, excel_viewer, office_compatibility_pack. Scope summary: Microsoft Excel 2002 SP3, 2003 SP3, 2007 SP1/SP2, Office 2004/2008 for Mac, Open XML File Format Converter for Mac, Excel Viewer 2003 SP3, Excel Viewer SP1/SP2, Office Compatibility Pack SP1/SP2

Q3. What temporary mitigations or workarounds exist for CVE-2009-3129 before patching?

[Mitigation] Apply the official Microsoft MS09-067 security update immediately and restrict opening untrusted legacy Office documents Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2009-3129

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2009-3129 Microsoft Excel FEATHEADER Record Memory Corruption and Remote Code Execution Vulnerability (CVE-2009-3129) (CVSS 7.8) - Patch & Workaround | CVE Pulse