CVE-2012-4792: Microsoft Internet Explorer CButton Use-After-Free Remote Code Execution
- Vendor
- Microsoft Corporation
CVE-2012-4792 is a use-after-free vulnerability affecting Microsoft Internet Explorer 6, 7, and 8. Improper handling of object lifetimes allows the browser to access deleted or incorrectly initialized objects, corrupting memory. A demonstrated trigger frees a CButton object while retaining a reference that is subsequently reused during page reload; other demonstrations identify a CDwnBindInfo object. Specially crafted web content can exploit the resulting invalid memory access to execute arbitrary code in the current user's security context. The vulnerability was exploited in targeted attacks in December 2012, including watering-hole attacks. Internet Explorer 9 and 10 are unaffected.
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 arbitrary code execution with the affected user's privileges and can also cause browser denial of service or unauthorized access to files and systems. If the user has administrative privileges, exploitation can result in complete system compromise, including program installation, data modification or deletion, and creation of privileged accounts. The vulnerability does not independently grant elevated privileges.
Mitigation
If you can’t patch tonight, do this now.
Temporary measures include applying Microsoft's Fix it MSHTML Shim Workaround, setting Internet and Local intranet security zones to High, or disabling or prompting before Active Scripting. Scripting restrictions can impair website functionality. Internet Explorer Enhanced Security Configuration reduces exposure on Windows servers for sites outside the Trusted sites zone. EMET adds exploit protections but does not guarantee prevention. Disabling Flash and Java in Internet Explorer breaks some known exploit chains, but these components are not universal exploitation requirements. Browsing with a nonadministrative account limits the potential impact.
Remediation
Patch, then assume compromise.
Install security update KB2799329, released under Microsoft Security Bulletin MS13-008 on January 14, 2013, which corrects Internet Explorer's handling of objects in memory. The update requires a system restart. Because MS13-008 is not cumulative, Microsoft advised ensuring that cumulative update MS12-077 was installed to avoid compatibility issues. The temporary MSHTML Shim Workaround does not need to be removed before applying KB2799329, but is unnecessary afterward.
Exploits
1 exploit validated by Mallory's analysis.
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-2012-4792 exploited in the wild?
- Yes. As of Nov 5, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jul 23, 2024.
- Is there a public exploit for CVE-2012-4792?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2012-4792, the earliest disclosed Dec 27, 2012.
- Is there a patch for CVE-2012-4792?
- Install security update KB2799329, released under Microsoft Security Bulletin MS13-008 on January 14, 2013, which corrects Internet Explorer's handling of objects in memory. The update requires a system restart.
- What products are affected by CVE-2012-4792?
- Microsoft Corporation Internet Explorer and Microsoft Corporation Ie.
- How severe is CVE-2012-4792?
- CVE-2012-4792 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 78.8% (100th percentile) as of Nov 5, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.