Actively exploited vulnerability / CVE-2012-4681
Oracle Java: a malicious website can take control of your computer
This vulnerability in Java lets an attacker run their own programs on your computer if someone opens a specially prepared web page. That can expose company data, passwords and access to your internal network. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2012-4681 · EUVD-2012-4606
- Severity
- Critical (9.8/10)
- On the CISA list (US)
- yes, since 3 March 2022
- Deadline given to US federal agencies
- 24 March 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 98.5% (FIRST's estimate for the next 30 days)
Does it concern you?
Java is software installed on many office computers to run certain applications or older web pages. You may have it if you use accounting or invoicing software, or banking and government portals that require Java.
Java SE 7 Update 6 and all earlier versions are affected. The version is shown in the Java section of the Control Panel, or you can ask whoever handles IT in your company.
Affected products and versions
- Oracle Java SE
What to do
Install the latest Java update from Oracle, following the vendor's instructions. If you do not need Java, the simplest option is to uninstall it.
The official description
The text below is the description from the public database.
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.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.