CVE-2004-1050: Internet Explorer 6 heap-based buffer overflow via long SRC/NAME attributes in IFRAME/FRAME/EMBED (MS04-040)
- Vendors
- AvayaMicrosoft Corporation
A heap-based buffer overflow in Microsoft Internet Explorer 6 is triggered when processing specially crafted HTML containing overly long SRC or NAME attributes in IFRAME, FRAME, and EMBED elements (commonly referred to as the “IFRAME vulnerability” / “HTML Elements Vulnerability”). The overflow occurs during handling of these long attribute values, enabling memory corruption that can be leveraged for arbitrary code execution in the context of the user running IE, and can also result in a crash of IE or applications hosting the WebBrowser ActiveX control.
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.
Remote code execution with the privileges of the user running Internet Explorer (or a host application using the WebBrowser ActiveX control). Also enables denial of service via crashing IE/host applications. Reported exploitation in the wild by malware (e.g., Bofra / W32-MyDoom variants).
Mitigation
If you can’t patch tonight, do this now.
Disable Active scripting in the Internet zone (and any zone used by applications leveraging the WebBrowser ActiveX control). Avoid following unsolicited links. Use current versions of Outlook/Outlook Express that default to the Restricted Sites Zone; render email in plain text. Keep antivirus up to date (as a supplemental control).
Remediation
Patch, then assume compromise.
Apply the vendor fix referenced in Microsoft Security Bulletin MS04-040. Alternatively, install Windows XP Service Pack 2 (not affected per the provided advisory).
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-1050 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-1050 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-1050?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2004-1050. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2004-1050?
- Apply the vendor fix referenced in Microsoft Security Bulletin MS04-040. Alternatively, install Windows XP Service Pack 2 (not affected per the provided advisory).
- What products are affected by CVE-2004-1050?
- Microsoft Corporation Ie, Microsoft Corporation Internet Explorer, Avaya Definity One Media Server, Avaya Ip600 Media Servers, Avaya Modular Messaging Message Storage Server, and 2 more.
- How severe is CVE-2004-1050?
- CVE-2004-1050 has a CVSS v2 score of 10.0 (Critical) and an EPSS score of 67.1% (99th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.