Summary
CVE-2012-4681 is a runtime environment (JRE) arbitrary code execution vulnerability in Oracle Java SE, rated critical severity with a CVSS base score of 9.8.
CISA added it to the Known Exploited Vulnerabilities catalogue on 3 March 2022, which means there is reliable evidence that attackers have exploited it and it is known to have been used in ransomware campaigns.
It can be exploited remotely over a network without needing an account.
The Java Runtime Environment (JRE) component in Oracle Java SE allow for remote code execution.
Key facts
- Affected product
- Oracle · Java SE
- CVSS severity
- Critical9.8CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS (exploitation likelihood, next 30 days)
- 98.53%Higher than 99.9% of all scored CVEs
- Weakness (CWE)
- CWE-284
- Added to CISA KEV
- CISA due date (US federal agencies)
- First published (NVD)
- NVD status
- Analyzed
CISA required action
Apply updates per vendor instructions.
What UK organisations should do
01 Patch or mitigate
- Follow the vendor's advisory. Where no fix is available, apply the published mitigations or take the affected component offline.
- CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 24 March 2022 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
- If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.
02 Check your exposure
- Confirm whether you run Oracle Java SE anywhere, including systems managed by suppliers or cloud providers.
- Review which accounts and interfaces are exposed, and confirm that administrative access is limited to trusted networks and protected with multi-factor authentication.
- Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.
03 Monitor and respond
- Review authentication logs for logins from unusual locations, new administrative accounts and session tokens used from multiple addresses.
- If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.
Other exploited Oracle Java SE vulnerabilities
- CVE-2013-2465
Java SE
Vulnerability
RansomwareCritical9.8 - CVE-2012-5076
Java SE
Sandbox Bypass
Critical9.8 - CVE-2015-4902
Java SE
Integrity Check
Medium5.3 - CVE-2015-2590
Java SE
and Java SE Embedded Remote Code Execution
Critical9.8 - CVE-2012-1723
Java SE
Runtime Environment (JRE) Arbitrary Code Execution
RansomwareCritical9.8 - CVE-2012-0507
Java SE
Runtime Environment (JRE) Arbitrary Code Execution
RansomwareCritical9.8
More from Oracle
- CVE-2026-21962
HTTP Server and Oracle Weblogic Server Proxy Plug-in
Improper Access Control
Critical10.0 - CVE-2026-46817
E-Business Suite
Improper Privilege Management
Critical9.8 - CVE-2026-35273
PeopleSoft Enterprise PeopleTools
Missing Authentication for Critical Function
RansomwareCritical9.8 - CVE-2024-21182
WebLogic Server
Vulnerability
High7.5 - CVE-2025-61757
Fusion Middleware
Missing Authentication for Critical Function
Critical9.8 - CVE-2025-61884
E-Business Suite
Server-Side Request Forgery (SSRF)
RansomwareHigh7.5
Same weakness (CWE-284) in other products
- CVE-2015-3306
ProFTPD · ProFTPD
Improper Access Control
Critical10.0 - CVE-2026-81963
Microsoft · Windows
Link Following
High7.8 - CVE-2026-56290
Joomlack · Page Builder
Improper Access Control
Critical9.8 - CVE-2026-34908
Ubiquiti · UniFi OS
Improper Access Control
Critical10.0 - CVE-2026-48907
Widget Factory · Joomla Content Editor
Improper Access Control
Critical9.8 - CVE-2026-35616
Fortinet · FortiClient EMS
Improper Access Control
Critical9.8
Sources and references
- CISA Known Exploited Vulnerabilities catalogue
- NVD record for CVE-2012-4681
- FIRST EPSS score
- blog.fireeye.comThird Party Advisory
- immunityproducts.blogspot.comExploit · Third Party Advisory
- lists.opensuse.orgMailing List
- lists.opensuse.orgMailing List
- marc.infoIssue Tracking · Mailing List · Third Party Advisory
- rhn.redhat.comThird Party Advisory
- secunia.comNot Applicable
- oracle.comVendor Advisory
- us-cert.govThird Party Advisory · US Government Resource
- cisa.govUS Government Resource
Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.