CVE-2012-3213: Oracle Java JRE Scripting Vulnerability in Java SE 6 and 7
- Vendors
- SunOracle Corporation
CVE-2012-3213 is an unspecified vulnerability in the Scripting-related functionality of the Oracle Java Runtime Environment. It affects Oracle Java SE 7 through Update 11 and Oracle Java SE 6 through Update 38. The flaw was exploitable remotely and was used in watering-hole attacks as a Java zero-day during late 2012 and early 2013. Publicly available information does not identify the exact vulnerable function or root cause, but Oracle classified it as a JRE issue that could be triggered through unknown vectors associated with Scripting.
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 a remote attacker to affect confidentiality, integrity, and availability on the target system. In practical terms, this indicates compromise of the Java security boundary sufficient to execute attacker-controlled actions on the victim host, enabling malware delivery and broader system compromise in browser-based exploitation scenarios.
Mitigation
If you can’t patch tonight, do this now.
Apply Oracle's February 2013 Critical Patch Update as soon as possible. Where immediate patching is not feasible, reduce exposure by disabling or tightly restricting Java in browsers and other untrusted content execution paths, limiting access to required network protocols, and removing unnecessary privileges or access to affected packages from unprivileged users where operationally possible. These measures are temporary risk-reduction steps and may impair functionality.
Remediation
Patch, then assume compromise.
Upgrade Oracle Java SE to a version containing Oracle's February 2013 security fixes. Affected releases include Java SE 7 Update 11 and earlier, and Java SE 6 Update 38 and earlier; remediation requires moving to the patched versions released by Oracle or later supported releases. Oracle also advised upgrading to the latest supported Java versions because unsupported branches may not receive fixes.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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-3213 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2012-3213?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2012-3213.
- Is there a patch for CVE-2012-3213?
- Upgrade Oracle Java SE to a version containing Oracle's February 2013 security fixes. Affected releases include Java SE 7 Update 11 and earlier, and Java SE 6 Update 38 and earlier; remediation requires moving to the patched versions released by Oracle or later supported releases.
- What products are affected by CVE-2012-3213?
- Sun Jre, Oracle Corporation Jre, Sun Jdk, and Oracle Corporation Jdk.
- How severe is CVE-2012-3213?
- CVE-2012-3213 has a CVSS v2 score of 10.0 (Critical) and an EPSS score of 9.8% (96th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.