Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2012-0507: Oracle Java AtomicReferenceArray Type Confusion Sandbox Escape

Published Jun 7, 2012 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.8Critical · v3.1
EPSS98.2%100th percentile
CISA KEVYesAdded Mar 3, 2022
In the wildActivePer CISA KEV
Vendors
Debian ProjectSunOracle CorporationSuse
IdentifiersCVE-2012-0507CWE-843 · Access of Resource Using…
Also known asjava_atomic

CVE-2012-0507 is a vulnerability in the Concurrency component of Oracle Java SE affecting JRE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier. Third-party researchers identified improper array-type enforcement in AtomicReferenceArray: the implementation does not ensure that its backing array has the runtime type Object[]. This permits type confusion that can crash the JVM or bypass Java sandbox restrictions, enabling arbitrary code execution. Oracle's original advisory did not confirm these implementation details. The vulnerability was widely incorporated into exploit kits and used for drive-by malware installation, including Flashback infections.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise confidentiality, integrity, and availability by allowing untrusted Java code to escape the sandbox and execute with the privileges of the affected user. Attackers can install malware, access or modify user-accessible data, or crash the JVM. Observed exploitation included automatic Flashback installation on vulnerable Mac systems through malicious web applets.

Mitigation

If you can’t patch tonight, do this now.

Disable or remove the Java browser plug-in to block the documented malicious-applet drive-by attack path. Where Java is unnecessary, uninstall the runtime. Endpoint exploit prevention can provide an additional layer of protection, but does not replace patching.

Remediation

Patch, then assume compromise.

Apply the vendor security updates addressing CVE-2012-0507. Oracle released the relevant Java update in February 2012; Apple released its corresponding Java update on April 3, 2012. For present-day deployments, replace affected legacy Java installations with a supported, fully patched release and remove obsolete runtimes that applications or browser integrations could still invoke.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
Oracle CorporationJreapplication
SunJreapplication
SuseLinux Enterprise Javaoperating_system
SuseLinux Enterprise Software Development Kitoperating_system
SuseSuse Linux Enterprise Desktopoperating_system
SuseSuse Linux Enterprise Serveroperating_system
FAQ

Frequently asked questions

Is CVE-2012-0507 exploited in the wild?
Yes. As of Nov 18, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 3, 2022.
Is there a public exploit for CVE-2012-0507?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2012-0507, the earliest disclosed Feb 14, 2012.
Is there a patch for CVE-2012-0507?
Apply the vendor security updates addressing CVE-2012-0507. Oracle released the relevant Java update in February 2012; Apple released its corresponding Java update on April 3, 2012.
What products are affected by CVE-2012-0507?
Sun Jre, Oracle Corporation Jre, Debian Project Debian Linux, Suse Linux Enterprise Java, Suse Linux Enterprise Software Development Kit, and 2 more.
How severe is CVE-2012-0507?
CVE-2012-0507 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 98.2% (100th percentile) as of Nov 18, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence1Every report linking this CVE to a named adversary.
Associated malware13Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.