Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2006-0564: Stack-based buffer overflow in Microsoft HTML Help Workshop .hhp Contents field

Published Feb 6, 2006 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v2
EPSS71.7%99th percentile
CISA KEVNoNot listed
In the wildReported4 exploitation records in Mallory
Vendor
Microsoft Corporation
IdentifiersCVE-2006-0564CWE-121

CVE-2006-0564 is a stack-based buffer overflow in Microsoft HTML Help Workshop 4.74.8702.0, and possibly earlier versions, including the copy distributed with the Microsoft HTML Help 1.4 SDK. The flaw is caused by insufficient validation of the Contents file field in the header of an HTML Help Workshop Project (.hhp) file. When a user opens a specially crafted .hhp project file containing an overly long value in that field, the application can overflow a stack buffer, potentially allowing attacker-controlled code execution in the context of the user running the application. Public exploit code was reported as available.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 can allow arbitrary code execution on the affected system when a malicious .hhp file is opened in HTML Help Workshop. Because the code executes in the security context of the user, impact can range from compromise of that user account to full system compromise where the user has administrative privileges. The issue is client-side and context-dependent, requiring user interaction to open the crafted project file.

Mitigation

If you can’t patch tonight, do this now.

Do not open .hhp files from untrusted or unverifiable sources. Restrict use of Microsoft HTML Help Workshop to trusted workflows only, and limit exposure by uninstalling or removing the HTML Help SDK from systems that do not require it. Because exploitation depends on user interaction, user awareness and file provenance controls materially reduce risk.

Remediation

Patch, then assume compromise.

Based on the provided advisories, no practical vendor patch or solution was available at the time of disclosure. Recommended remediation is to avoid opening untrusted HTML Help Workshop Project (.hhp) files and to remove or avoid installing the Microsoft HTML Help SDK / HTML Help Workshop where it is not operationally required.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 6 not yet analyzed, such as Exploit-DB entries.

View more in app →
hhw_hhp_contentfile_bof.rbThis repository contains a single Metasploit module targeting a stack buffer overflow vulnerability (CVE-2006-0564) in Microsoft HTML Help Workshop 4.74 (hhw.exe v4.74.8702.0) on Windows XP SP3. The exploit works by generating a specially crafted .hhp project file (default name: msf.hhp) that, when opened by the vulnerable application, triggers a buffer overflow and executes arbitrary code. The module uses Metasploit's egghunter technique to deliver the payload, which can be any Metasploit-compatible shellcode up to 1024 bytes, avoiding certain bad characters. The attack vector is local, requiring user interaction to open the malicious file. The repository is structured as a single Ruby file within the Metasploit framework, leveraging its file format and egghunter exploit mixins. No network endpoints are involved; the main fingerprintable artifacts are the malicious .hhp file and the target application (hhw.exe).Disclosed Feb 6, 2006 · Framework: metasploit · ruby · localWeaponizedhhw_hhp_compiledfile_bof.rbThis repository contains a single Metasploit module targeting a stack buffer overflow vulnerability (CVE-2006-0564) in Microsoft HTML Help Workshop 4.74 (specifically hhw.exe v4.74.8702.0) on Windows XP SP3. The exploit works by generating a specially crafted .hhp (HTML Help Project) file that, when opened by the vulnerable application, triggers a buffer overflow and executes arbitrary code supplied as a payload. The module uses Metasploit's egghunter technique to locate the payload in memory and allows the attacker to specify the payload type (e.g., reverse shell, meterpreter). The only fingerprintable endpoint is the malicious .hhp file itself, which is created as 'msf.hhp' by default. The exploit is operational and requires user interaction (the victim must open the file). The code is written in Ruby and is structured as a standard Metasploit exploit module.Disclosed Feb 6, 2006 · Framework: metasploit · ruby · localWeaponized
Exposure surface

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.

VendorProductType
Microsoft CorporationHtml Helpapplication
Microsoft CorporationHtml Help Workshopapplication
FAQ

Frequently asked questions

Is CVE-2006-0564 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-0564?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2006-0564, the earliest disclosed Feb 6, 2006.
Is there a patch for CVE-2006-0564?
Based on the provided advisories, no practical vendor patch or solution was available at the time of disclosure. Recommended remediation is to avoid opening untrusted HTML Help Workshop Project (.hhp) files and to remove or avoid installing the Microsoft HTML Help SDK / HTML Help Workshop where it is not operationally required.
What products are affected by CVE-2006-0564?
Microsoft Corporation Html Help and Microsoft Corporation Html Help Workshop.
How severe is CVE-2006-0564?
CVE-2006-0564 has a CVSS v2 score of 7.5 (High) and an EPSS score of 71.7% (99th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.