CVE-2012-4681

Attackers are using this Critical severity Published August 28, 2012 · updated August 6, 2026

Attackers are using this.

CISA added it to its list of vulnerabilities being exploited on March 3, 2022. It is known to be used in ransomware attacks.

CISA's advice: Apply updates per vendor instructions.

What it is

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.

What it affects, and the version that fixes it

  • Oracle Java Development Kit (JDK) No fixed version listed yet.
  • Oracle Java Runtime Environment (JRE) No fixed version listed yet.
  • Red Hat Enterprise Linux Extended Update Support (EUS) No fixed version listed yet.
  • Red Hat Enterprise Linux Server No fixed version listed yet.
  • Red Hat Enterprise Linux Workstation No fixed version listed yet.
  • Redhat Enterprise Linux Desktop No fixed version listed yet.

The vendor's advice · The official record (NVD) · CVE.org