CVE-2012-4681 · mitre
CVE-2012-4681
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.
Published 2012-08-28, last changed 2026-08-06. Weakness: CWE-284.
CISA KEV
Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability. Added 2022-03-03, federal due date 2022-03-24, ransomware use: Known.
Public exploits
| Source | Kind | Reference |
|---|---|---|
| exploit-db | proof-of-concept | EDB-20865 |
| metasploit | exploit-module | exploit/multi/browser/java_jre17_exec |
Timeline
| 2012-08-28 | Published |
| 2022-03-03 | Added to CISA KEV: exploited in the wild |
| 2022-03-24 | CISA KEV due date for US federal agencies |
| 2026-08-06 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 98.5% |
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-128661 | 2026-11-18 | 9.8 | same weakness (CWE-284) from the same CNA (mitre) |
| CVE-2026-106991 | 2026-11-03 | 7.1 | same weakness (CWE-284) from the same CNA (mitre) |
| CVE-2026-51905 | 2026-10-29 | 8.8 | same weakness (CWE-284) from the same CNA (mitre) |
| CVE-2026-51903 | 2026-10-29 | 8.1 | same weakness (CWE-284) from the same CNA (mitre) |
| CVE-2026-51902 | 2026-10-29 | 6.5 | same weakness (CWE-284) from the same CNA (mitre) |
| CVE-2026-107037 | 2026-10-29 | 7.5 | same weakness (CWE-284) from the same CNA (mitre) |
| CVE-2026-107035 | 2026-10-29 | 6.5 | same weakness (CWE-284) from the same CNA (mitre) |
| CVE-2026-107034 | 2026-10-29 | 9.1 | same weakness (CWE-284) from the same CNA (mitre) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2012-4681, or call /api/v1/vulnerabilities/CVE-2012-4681. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.