# CVE-2012-0507: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

Source: https://junglewise.ai/threats/cve-2012-0507-oracle-java-se-runtime-environment-jre-arbitrary-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-03. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2012-0507 · Severity: critical · CVSS 9.8 · Exploited in the wild · Published 2022-03-03

A type confusion vulnerability in the AtomicReferenceArray class implementation of the Java Runtime Environment (JRE) Concurrency component allows remote attackers to bypass sandbox restrictions or cause a denial of service. The flaw occurs because the implementation fails to ensure the array is of the Object[] type, enabling arbitrary code execution.

Technologies: [Oracle Java SE](https://junglewise.ai/threats/technologies/java-se), [Oracle JRockit](https://junglewise.ai/threats/technologies/jrockit). Vendors: [Oracle](https://junglewise.ai/threats/vendors/oracle).

## Quick answers

**Is CVE-2012-0507 exploited in the wild?** Yes. CVE-2012-0507 is known to be exploited in the wild, first recorded on 3 March 2022. Treat it as urgent.

**How severe is CVE-2012-0507?** Critical severity, with a CVSS score of 9.8, published 3 March 2022.

**Which products and versions are affected?** Oracle Java SE 7 Update 2 and earlier; Oracle Java SE 6 Update 30 and earlier; Oracle Java SE 5.0 Update 33 and earlier.

**Is there a fix for CVE-2012-0507?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2012-0507 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2012-0507?** Check whether you run Oracle Java SE or Oracle JRockit. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Oracle Java SE 7 Update 2 and earlier
- Oracle Java SE 6 Update 30 and earlier
- Oracle Java SE 5.0 Update 33 and earlier

## Timeline

- 2012-02: disclosed: Oracle February 2012 Critical Patch Update (CPU)
- 2022-03-03: kev added: Added to CISA Known Exploited Vulnerabilities Catalog

## Related threats

- [Oracle Java SE JSSE protocol handling vulnerability](https://junglewise.ai/threats/cve-2026-114820-vulnerability-in-the-oracle-java-se-oracle-graalvm-for-jdk)
- [Oracle Java SE JSSE remote data exposure and modification](https://junglewise.ai/threats/cve-2026-91403-vulnerability-in-the-oracle-java-se-oracle-graalvm-for-jdk-oracle)
- [Oracle Java SE compiler vulnerability in data access](https://junglewise.ai/threats/cve-2026-91487-vulnerability-in-oracle-java-se-component-compiler-supported)
- [Oracle Java SE Java plugin sandbox escape](https://junglewise.ai/threats/cve-2026-91484-vulnerability-in-oracle-java-se-component-java-plugin-supported)
- [Oracle Java SE JGSS information disclosure](https://junglewise.ai/threats/cve-2026-91464-vulnerability-in-the-oracle-java-se-oracle-graalvm-for-jdk-oracle)
