As of , CVE-2012-4681 in Oracle Java SE is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2012-4681
Oracle Java SE: Runtime Environment (JRE) Arbitrary Code Execution. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- Ransomware use
- Metasploit module
- EPSS 0.99
- Verified Exploit-DB entry
CISA's required action
Apply updates per vendor instructions.
Patch infofixed versions and vendor advice
What to install
Affects Oracle Java SE.
The record's list of affected products gives no versions.
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 3 March 2022
- US federal deadline
- 24 March 2022 21 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Known CISA changed it from Unknown to Known on 9 June 2025.
- EPSS when listed
- 0.92 on 3 March 2022 EPSS on the day CISA listed it.
- Public exploit
- 1 Metasploit module and 1 Exploit-DB entry (1 verified)
Since listing
EPSS since listing
EPSS for CVE-2012-4681 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.92 | |
| 0.98 | |
| 0.94 | |
| 0.95 | |
| 0.94 | |
| 0.99 |
Timeline
What happened when
- Exploit-DB published an exploit (EDB-ID 20865).
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
- CISA changed its entry. Ransomware use: Unknown to Known.
CISA's required action
What CISA says to do
Apply updates per vendor instructions.
Read further: CISA's catalog
The flaw
What the flaw is
The Java Runtime Environment (JRE) component in Oracle Java SE allow for remote code execution.
CISA's description
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.
The CVE record's description, from mitre
- CVE published
- 28 August 2012
- Assigned by
- mitre
- CVSS
- 9.8 Critical (CVSS 3.1, from CISA-ADP)
- CWE-284
- Improper Access Control
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Public exploits
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
Same product
Java SE: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2012-5076Sandbox Bypass | Java SE | Patch this weekMetasploitExploit-DB | Due | 0.91 | |
| CVE-2013-2465Unspecified | Java SE | Patch this weekRansomwareMetasploitExploit-DB | Due | 0.99 | |
| CVE-2012-0507Runtime Environment (JRE) Arbitrary Code Execution | Java SE | Patch this weekRansomwareMetasploitExploit-DB | Due | 0.98 | |
| CVE-2012-1723Runtime Environment (JRE) Arbitrary Code Execution | Java SE | Patch this weekRansomwareMetasploitExploit-DB | Due | 0.94 | |
| CVE-2015-2590and Java SE Embedded Remote Code Execution | Java SE | Patch soon | Due | 0.25 | |
| CVE-2015-4902Integrity Check | Java SE | Patch soon | Due | 0.14 |
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)