CVE-2004-1306: Heap Buffer Overflow in winhlp32.exe
- Vendor
- Microsoft Corporation
A heap-based buffer overflow exists in winhlp32.exe on Windows NT, Windows 2000 (up to SP4), Windows XP (up to SP2), and Windows 2003. The vulnerability is triggered when a specially crafted .hlp file is opened, leading to a heap overflow condition in the help file parser.
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 allows remote attackers to execute arbitrary code with the privileges of the user who opens the malicious .hlp file, potentially leading to full system compromise.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to winhlp32.exe, block .hlp files from being opened from untrusted sources, and use endpoint protection to detect and block malicious .hlp files.
Remediation
Patch, then assume compromise.
Apply the security updates provided by Microsoft that address this vulnerability. Avoid opening untrusted .hlp files until patches are applied.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
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.
References
Frequently asked questions
- Is CVE-2004-1306 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-1306 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-1306?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2004-1306.
- Is there a patch for CVE-2004-1306?
- Apply the security updates provided by Microsoft that address this vulnerability. Avoid opening untrusted .hlp files until patches are applied.
- What products are affected by CVE-2004-1306?
- Microsoft Corporation Windows 2000, Microsoft Corporation Windows Nt, Microsoft Corporation Windows Xp, and Microsoft Corporation Windows 2003 Server.
- How severe is CVE-2004-1306?
- CVE-2004-1306 has a CVSS v2 score of 5.1 (Medium) and an EPSS score of 21.1% (98th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.