Skip to content
Server Security Center
KEVcritical9.8 Used in ransomware campaigns

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

Oracle Java SE · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-03.

CVSS v3.1 (CISA ADP)
9.8
critical
EPSS (exploit probability, 30 days)
98%
among the highest 0.1% of all CVEs
Added to CISA KEV
2022-03-03
US federal due date 2022-03-24
Automatable (CISA SSVC)
yes
technical impact: total

CVE-2012-0507 explained

CVE-2012-0507 is a type confusion flaw in the Java Runtime Environment (JRE) component of Oracle Java SE, related to Concurrency. It lets remote attackers affect confidentiality, integrity and availability. CISA lists it as known exploited, including use in ransomware campaigns, so any remaining affected Java installations are a serious risk.

Impact

A remote, unauthenticated attacker can compromise confidentiality, integrity and availability without user interaction, according to the CVSS vector. Third-party reports say the flaw can crash the JVM or bypass Java sandbox restrictions. CISA rates it automatable with total technical impact, meaning attackers can exploit it at scale and gain full control of the affected component. Attackers are known to exploit it, including in ransomware campaigns.

Who is affected

The description names Oracle Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier. The structured CVE record lists no affected versions for Oracle Java SE, and it names no fixed version. Check the Oracle advisory for the corrected releases.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA required action: Apply updates per vendor instructions.

CISA notes

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: oracle.com/technetwork/topics/security/javacpufeb2012-366…
  • CISA's deadline for US federal agencies: 2022-03-24 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Update Oracle Java SE to a current, supported release as described in Oracle's advisory, per CISA's required action.
  2. Inventory all systems for older Java SE 5.0, 6 and 7 installations, including those bundled with other software.
  3. Remove Java from systems that do not need it, and disable Java in web browsers where it is not required.
  4. Check systems that ran vulnerable Java versions for signs of compromise, including ransomware activity.

The CVE record names no fixed version. Follow Oracle's advisory, which is linked on this page, to identify the corrected Java SE releases. CISA's required action is to apply updates per vendor instructions. Until you have updated, remove or disable Java where it is not needed and limit exposure to untrusted content.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')

Questions about CVE-2012-0507

Is CVE-2012-0507 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-03-03 and notes known use in ransomware campaigns. US federal agencies had to remediate it by 2022-03-24.
Which Java versions are affected?
The description names Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier. The structured record lists no versions, so check Oracle's advisory for details.
What is the underlying weakness?
It is classified as type confusion (CWE-843). Third-party researchers report that the AtomicReferenceArray class does not ensure the array is of the Object[] type, which can allow a JVM crash or a Java sandbox bypass. Oracle has not commented on these claims.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.