CVE-2012-5076: Oracle Java SE Sandbox Bypass Vulnerability
Yes. CVE-2012-5076 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 28 March 2022. Public exploit code is available: 2 Metasploit modules and 2 Exploit-DB entries. EPSS puts the chance of further exploitation attempts in the next 30 days at 91.2%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 28 March 2022
- Used in ransomware
- Not known
- Public exploit code
- 2 Metasploit modules and 2 Exploit-DB entries
- Chance of exploitation (EPSS)
- 91.2% in the next 30 days, higher than 99.8% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 9.8 Critical (version 3.1)
- Affects
- Oracle Java SE
- Type of flaw
- Improper access control (CWE-284)
- Published
- 16 October 2012
- US federal patch deadline
- 18 April 2022
What it is
The default Java security properties configuration did not restrict access to the com.sun.org.glassfish.external and com.sun.org.glassfish.gmbal packages. An untrusted Java application or applet could use these flaws to bypass Java sandbox restrictions.
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allows remote attackers to affect confidentiality, integrity, and availability, related to JAX-WS.
Description from the CVE record.
Is CVE-2012-5076 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2012-5076 on 28 March 2022. That was 9 years after the CVE was published, so attackers are still finding unpatched systems long after the fix.
Public exploit code
These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.
| Source | Entry | Published |
|---|---|---|
| Metasploit | Java Applet AverageRangeStatisticImpl Remote Code Execution | |
| Metasploit | Java Applet JAX-WS Remote Code Execution | |
| Exploit-DB | Java Applet - JAX-WS Remote Code Execution (RCE) (Metasploit) | 13 November 2012 |
| Exploit-DB | Java Applet - AverageRangeStatisticImpl Remote Code Execution (RCE) (Metasploit) | 24 January 2013 |
What to do
CISA's required action: Apply updates per vendor instructions.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place Oracle Java SE runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
- Assume low-skill attackers can use it. A Metasploit module exists, which packages the attack into a standard tool.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Java SE. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in Oracle products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-21962 | Oracle HTTP Server and Oracle Weblogic Server Proxy Plug-in | No public exploit found | 74.3% | 20 January 2026 |
| CVE-2026-46817 | Oracle E-Business Suite | No public exploit found | 14.2% | 28 May 2026 |
| CVE-2026-35273 | Oracle PeopleSoft Enterprise PeopleTools | Ransomware Public exploit | 97.5% | 11 June 2026 |
| CVE-2024-21182 | Oracle WebLogic Server | No public exploit found | 74.2% | 16 July 2024 |
| CVE-2025-61757 | Oracle Fusion Middleware | Public exploit | 89.8% | 21 October 2025 |
| CVE-2025-61884 | Oracle E-Business Suite | Ransomware Public exploit | 96.2% | 12 October 2025 |
Sources
- CVE record for CVE-2012-5076
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- lists.opensuse.org (vendor-advisory, x_refsource_SUSE)
- security.gentoo.org (vendor-advisory, x_refsource_GENTOO)
- rhn.redhat.com (vendor-advisory, x_refsource_REDHAT)
- rhn.redhat.com (vendor-advisory, x_refsource_REDHAT)
- secunia.com (third-party-advisory, x_refsource_SECUNIA)
- secunia.com (third-party-advisory, x_refsource_SECUNIA)
- rhn.redhat.com (vendor-advisory, x_refsource_REDHAT)
- oval.cisecurity.org (vdb-entry, signature, x_refsource_OVAL)
Machine-readable: /api/cve/CVE-2012-5076.json