← Vulnerability feed

Vulnerability record · CVE-2012-0507 · published 7 June 2012

CVE-2012-0507: Oracle Java SE JRE AtomicReferenceArray type confusion sandbox bypass

Sun · Jre

CVE-2012-0507 is an unspecified vulnerability in the Java Runtime Environment (JRE) Concurrency component affecting Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier. Oracle has not confirmed the downstream claim that the AtomicReferenceArray class fails to verify the array is of Object[] type, which would allow a JVM crash or a bypass of Java sandbox restrictions. Because it can break the sandbox, it matters as a route to arbitrary code execution in the JVM.

9.8 CVSS 3.1 Critical CISA KEV since 3 Mar 2022 Known ransomware use EPSS 98% · top 0.1% CWE-843 · Type confusion
9.8CVSS 3.1 base score, v2 10.0
98%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
7Affected product versions listed by NVD
45References, 4 tagged exploit
14 Aug 2026Last modified by NVD

Description

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to Concurrency. NOTE: the previous information was obtained from the February 2012 Oracle CPU. Oracle has not commented on claims from a downstream vendor and third party researchers that this issue occurs because the AtomicReferenceArray class implementation does not ensure that the array is of the Object[] type, which allows attackers to cause a denial of service (JVM crash) or bypass Java sandbox restrictions. NOTE: this issue was originally mapped to CVE-2011-3571, but that identifier was already assigned to a different issue.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityCVSS 3.1 base score is 9.8, it is in CISA KEV with known ransomware use, and EPSS is 0.98113 at the 99.91st percentile.

What it is

CVE-2012-0507 is an unspecified vulnerability in the Java Runtime Environment (JRE) Concurrency component affecting Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier. Oracle has not confirmed the downstream claim that the AtomicReferenceArray class fails to verify the array is of Object[] type, which would allow a JVM crash or a bypass of Java sandbox restrictions. Because it can break the sandbox, it matters as a route to arbitrary code execution in the JVM.

Impact

An attacker can affect confidentiality, integrity and availability, and per the third-party claim can bypass Java sandbox restrictions or crash the JVM. Successful sandbox escape enables arbitrary code execution in the context of the Java process.

Attack surface

Reachable remotely over the network with no authentication and no user interaction per the CVSS vector, via unknown vectors related to Concurrency. In practice this class of JRE flaw is typically triggered by untrusted Java content such as an applet or web-delivered JAR, though the record does not specify the exact delivery path.

Exploitation

CISA added it to KEV on 2022-03-03 with a 2022-03-24 due date and flags known ransomware campaign use; EPSS 30-day probability is 0.98113 (99.91st percentile). Multiple references are tagged Exploit, and third-party reporting describes the attack being rolled into exploit packs.

What to do

  • Apply the vendor updates referenced in the Oracle February 2012 CPU and the Red Hat, Debian and SUSE advisories; upgrade JRE to a fixed release.
  • Remove or disable outdated Java SE 5, 6 and 7 installations that cannot be patched.
  • Disable the Java browser plug-in and block untrusted applet/JAR execution where the plug-in is not required.
  • Restrict outbound and inbound access to Java content and enforce application allowlisting to limit execution of untrusted JARs.
  • Treat any host still running the affected JRE versions as compromised until triaged, given KEV status and ransomware association.

Detection

  • Hunt for JRE versions at or below 7u2, 6u30 and 5.0u33 on endpoints and servers.
  • Monitor for JVM crash events and unexpected java.exe/javaw.exe child processes spawning shells or scripting interpreters.
  • Review proxy and web logs for retrieval of JAR or applet content from untrusted or newly registered domains.
  • Alert on Java processes making anomalous network connections or writing executables to user-writable paths.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2012-0507 to the Known Exploited Vulnerabilities catalog on 3 March 2022 as "Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply updates per vendor instructions. Federal deadline 24 March 2022.

Affected products

7 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://blogs.technet.com/b/mmpc/archive/2012/03/20/an-interesting-case-of-jre-sandbox-breach-cve-2012-0507.aspx Broken LinkThird Party Advisory
http://krebsonsecurity.com/2012/03/new-java-attack-rolled-into-exploit-packs/ Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00009.html Issue TrackingThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00010.html Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=133364885411663&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=133365109612558&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=133847939902305&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=134254866602253&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=134254957702612&w=2 Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-0508.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-0514.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2013-1455.html Third Party Advisory
http://secunia.com/advisories/48589 Broken LinkNot Applicable
http://secunia.com/advisories/48692 Broken LinkNot Applicable
http://secunia.com/advisories/48915 Broken LinkNot Applicable
http://secunia.com/advisories/48948 Broken LinkNot Applicable
http://secunia.com/advisories/48950 Broken LinkNot Applicable
http://weblog.ikvm.net/PermaLink.aspx?guid=cd48169a-9405-4f63-9087-798c4a1866d3 Broken LinkExploit
http://www.debian.org/security/2012/dsa-2420 Mailing ListThird Party Advisory
http://www.oracle.com/technetwork/topics/security/javacpufeb2012-366318.html Vendor Advisory
http://www.securityfocus.com/bid/52161 Broken LinkExploitThird Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=788994 Issue Tracking
http://blogs.technet.com/b/mmpc/archive/2012/03/20/an-interesting-case-of-jre-sandbox-breach-cve-2012-0507.aspx Broken LinkThird Party Advisory
http://krebsonsecurity.com/2012/03/new-java-attack-rolled-into-exploit-packs/ Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00009.html Issue TrackingThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00010.html Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=133364885411663&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=133365109612558&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=133847939902305&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=134254866602253&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=134254957702612&w=2 Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-0508.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-0514.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2013-1455.html Third Party Advisory
http://secunia.com/advisories/48589 Broken LinkNot Applicable
http://secunia.com/advisories/48692 Broken LinkNot Applicable
http://secunia.com/advisories/48915 Broken LinkNot Applicable
http://secunia.com/advisories/48948 Broken LinkNot Applicable
http://secunia.com/advisories/48950 Broken LinkNot Applicable
http://weblog.ikvm.net/PermaLink.aspx?guid=cd48169a-9405-4f63-9087-798c4a1866d3 Broken LinkExploit

Track CVE-2012-0507 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2012-0507), CISA KEV, FIRST EPSS (scores of 2026-09-23). This page is refreshed as NVD updates the record.