draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2012-5076: Oracle Java SE Sandbox Bypass Vulnerability

Exploited in attacksPublic exploit code

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.

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

  1. Find every copy. List each place Oracle Java SE runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. 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

CVEWhat it affectsStatusEPSSPublished
CVE-2026-21962Oracle HTTP Server and Oracle Weblogic Server Proxy Plug-inNo public exploit found74.3%20 January 2026
CVE-2026-46817Oracle E-Business SuiteNo public exploit found14.2%28 May 2026
CVE-2026-35273Oracle PeopleSoft Enterprise PeopleToolsRansomware Public exploit97.5%11 June 2026
CVE-2024-21182Oracle WebLogic ServerNo public exploit found74.2%16 July 2024
CVE-2025-61757Oracle Fusion MiddlewarePublic exploit89.8%21 October 2025
CVE-2025-61884Oracle E-Business SuiteRansomware Public exploit96.2%12 October 2025

Sources

Machine-readable: /api/cve/CVE-2012-5076.json