CVE-2012-4681
Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
- Actively exploited
- Used by ransomware
- Critical · 9.8 of 10
- Exploited since
- 3 Mar 2022 added to the CISA list
- Chance of attacks
- 99% in the next 30 days (FIRST EPSS)
- Fix deadline
- 24 Mar 2022 for US federal agencies
- Published
- 28 Aug 2012 in the NVD
What this means
The Java Runtime Environment (JRE) component in Oracle Java SE allow for remote code execution.
CISA
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.
NIST National Vulnerability Database
What to do
Apply updates per vendor instructions.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- n/a n/a
Official sources
- nvd.nist.gov/vuln/detail/CVE-2012-4681
- oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html vendor advisory
- blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html
- immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html
- labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/
- lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html
- lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html
- marc.info/?l=bugtraq&m=135109152819176&w=2
- rhn.redhat.com/errata/RHSA-2012-1225.html
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.