Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2012-4792: Microsoft Internet Explorer CButton Use-After-Free Remote Code Execution

Published Dec 30, 2012 · Updated 23 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS78.8%100th percentile
CISA KEVYesAdded Jul 23, 2024
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2012-4792CWE-416 · Use After Free

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.

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 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.

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 CorporationIeapplication
Microsoft CorporationInternet Explorerapplication
FAQ

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.
Activity feed

Recent activity

16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
cveNews · Jan 1, 2026CVE Record: CVE-2012-4792A use-after-free vulnerability in Microsoft Internet Explorer 6–8 allows remote arbitrary code execution through a crafted website. The record explicitly reports exploitation in December 2012 and references watering-hole attacks involving the Council on Foreign Relations. References include public exploit code, Microsoft's MS13-008 security bulletin, and a Microsoft Fix it mitigation.Read more ↗microsoft technet subdomainNews · Mar 1, 2023Microsoft Security Bulletin MS13-008 - Critical | Microsoft LearnA use-after-free memory-corruption vulnerability in Internet Explorer 6, 7, and 8 allows arbitrary code execution with the current user's privileges when the user views specially crafted web content. Exploitation under an administrator account could give an attacker complete system control. The bulletin rates the flaw Critical on Windows clients and Moderate on Windows servers and reports targeted exploitation attempts against Internet Explorer 8. Internet Explorer 9 and 10 are unaffected. Microsoft released update KB2799329 through MS13-008 to correct object handling in memory. Documented mitigations include the MSHTML Shim Workaround, restricting Active Scripting and ActiveX, Internet Explorer Enhanced Security Configuration, EMET, and using accounts with fewer privileges.Read more ↗learn microsoftNews · Mar 1, 2023Microsoft Security Bulletin MS13-008 - Critical | Microsoft LearnA publicly disclosed memory-handling vulnerability in Internet Explorer 6, 7, and 8 can allow arbitrary code execution when a user views a specially crafted webpage. Code executes with the current user's privileges, potentially permitting complete system control when that user has administrative rights. The bulletin rates the vulnerability Critical on affected Windows clients and Moderate on affected Windows servers; Internet Explorer 9 and 10 are unaffected. Microsoft released MS13-008 (KB2799329) on January 14, 2013, to correct object handling in memory. Available mitigations include the MSHTML Shim Workaround, blocking Active Scripting and ActiveX controls, Internet Explorer Enhanced Security Configuration, EMET, and using nonadministrative accounts.Read more ↗microsoft technet subdomainNews · Oct 14, 2022Microsoft Security Advisory 2794220 | Microsoft LearnA use-after-free vulnerability in Microsoft Internet Explorer that could allow remote code execution. Microsoft completed its investigation of a public report and released security update MS13-008 on January 14, 2013. An earlier Microsoft Fix it solution, the MSHTML Shim Workaround, prevents exploitation.Read more ↗
+6 more in the timeline. Sign up to see them
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 evidence3Every report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures7YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.