Remote code executionin Oracle Java SE.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 3 Mar 2022. Ransomware groups use it too.
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.
CISA: The Java Runtime Environment (JRE) component in Oracle Java SE allow for remote code execution.
- CISA requires US federal agencies to fix it by 24 Mar 2022.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 26 Aug 2012Metasploit module: Java 7 Applet Remote Code Execution.
- 27 Aug 2012CVE ID reserved by mitre.
- 28 Aug 2012Published in the CVE List.
- 26 Sep 2014First public proof of concept on GitHub.
- 3 Mar 2022Added to CISA's Known Exploited Vulnerabilities list.
- 3 Mar 2022CISA lists known use in ransomware campaigns.
- 6 Aug 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
2 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Java SE vulnerabilities
Same weakness: Improper access control
- blog.fireeye.com x_refsource_MISC
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- www.us-cert.gov third-party-advisory, x_refsource_CERT
- labs.alienvault.com x_refsource_MISC
- marc.info vendor-advisory, x_refsource_HP
- community.rapid7.com x_refsource_MISC
- www.deependresearch.org x_refsource_MISC
- www.oracle.com x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- immunityproducts.blogspot.com x_refsource_MISC
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.cisa.gov government-resource
Patchminder. CVE-2012-4681: Remote code execution in Oracle Java SE. https://patchminder.com/cve/cve-2012-4681/ (accessed 5 December 2026).