CVE-2012-5076: Java SE JRE Sandbox Escape
- Vendors
- Oracle CorporationSuse
CVE-2012-5076 is a sandbox-escape vulnerability affecting Oracle Java SE 7 Update 7 and earlier. It allows remote attackers to escape Java sandbox restrictions and execute arbitrary code on the affected machine, compromising confidentiality, integrity, and availability. Component attribution is inconsistent: the vulnerability is described as related to JAX-WS, while another account identifies Java Deployment. The precise root cause and vulnerable function are unspecified. Exploitation was demonstrated against the Java 7u7 browser plug-in and incorporated into the Cool Exploit Kit.
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 enables arbitrary code execution outside the Java sandbox and can compromise the affected machine’s confidentiality, integrity, and availability. The exploit was used by the Cool Exploit Kit, which distributed Reveton ransomware capable of locking victims’ computers and demanding payment.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, disable the Java browser plugin and prevent untrusted Java applets from executing in browsers. Restrict or remove Java from systems that do not require it, enforce application allowlisting, and use browser/network controls to block access to exploit-kit landing pages and malicious JAR delivery. Reducing exposure of client-side Java execution is the primary mitigation based on the available information.
Remediation
Patch, then assume compromise.
Upgrade to Java 7 Update 9 or a later supported release incorporating the fix. Oracle addressed CVE-2012-5076 in its October 2012 Critical Patch Update; the demonstrated exploit did not work against Java 7u9.
Exploits
2 exploits 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-5076 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 28, 2022.
- Is there a public exploit for CVE-2012-5076?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2012-5076, the earliest disclosed Oct 16, 2012.
- Is there a patch for CVE-2012-5076?
- Upgrade to Java 7 Update 9 or a later supported release incorporating the fix. Oracle addressed CVE-2012-5076 in its October 2012 Critical Patch Update; the demonstrated exploit did not work against Java 7u9.
- What products are affected by CVE-2012-5076?
- Oracle Corporation Jre and Suse Linux Enterprise Desktop.
- How severe is CVE-2012-5076?
- CVE-2012-5076 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 91.3% (100th percentile) as of Oct 16, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.