CVE-2012-4681

published 28 Aug 2012 · updated 6 Aug 2026

Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

10.0CriticalCVSS 9.8EPSS 99%CISA KEV · due 24 Mar 20222 public exploits

Exploited in the wild, used by ransomware, in CISA KEV since 3 Mar 2022 (due 24 Mar 2022), with 2 public exploits. No fixed version is recorded.

Multiple vulnerabilities in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 6 and earlier allow remote attackers to execute arbitrary code via a crafted applet that bypasses SecurityManager restrictions by (1) using com.sun.beans.finder.ClassFinder.findClass and leveraging an exception with the forName method to access restricted classes from arbitrary packages such as sun.awt.SunToolkit, then (2) using "reflection with a trusted immediate caller" to leverage the getField method to access and modify private fields, as exploited in the wild in August 2012 using Gondzz.class and Gondvv.class.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OracleJava SE

Exploit evidence

2 public sources

kev

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Java SE, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2012-4681 severity on Zeptric[![CVE-2012-4681](https://zeptric.io/badge/cve/CVE-2012-4681.svg)](https://zeptric.io/cve/CVE-2012-4681)