Security Resilience

CVE-2012-0507

Memory Safety in Oracle Jre 1.6.0 … 1.7.0

CISA KEVActive ExploitationEUVD ExploitedPublic PoCRansomware-linkedMemory Safety
Published
07 June 2012
Modified
14 August 2026
KEV Added
03 March 2022
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.98 99.9th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2012-0507 is a critical-severity Type Confusion (CWE-843) vulnerability in Oracle Jre. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Drive-by Compromise (T1189); ranked in the top 0.1% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability is an unspecified issue in the Java Runtime Environment component of Oracle Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier. It stems from the AtomicReferenceArray class implementation failing to ensure arrays are of the Object[] type, which can lead to a JVM crash or sandbox bypass, and is tracked under concurrency-related vectors with associated CWEs including CWE-843.

Remote attackers can exploit the flaw without authentication to impact confidentiality, integrity, and availability. Successful attacks enable denial of service through JVM crashes or circumvention of Java sandbox restrictions to execute arbitrary code or access restricted resources.

References describe the issue appearing in exploit packs and detail a sandbox breach case, indicating active use in the wild shortly after disclosure. No specific patch or mitigation details are provided in the available references beyond general security announcements from vendors such as OpenSUSE.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
03 March 2022

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2013-2465Same product: Oracle Jreboth on KEV
CVE-2021-21224Shared CWE-843both on KEV
CVE-2023-4762Shared CWE-843both on KEV
CVE-2023-2033Shared CWE-843both on KEV
CVE-2023-3079Shared CWE-843both on KEV
CVE-2011-0611Same vendor: Oracleboth on KEV
CVE-2017-8291Shared CWE-843both on KEV
CVE-2020-6418Shared CWE-843both on KEV
CVE-2019-11707Shared CWE-843both on KEV
CVE-2019-17026Shared CWE-843both on KEV

Affected Assets

sun
jre
1.5.0, 1.6.0
oracle
jre
1.6.0, 1.7.0
debian
debian linux
6.0, 7.0
suse
linux enterprise desktop
10
suse
linux enterprise java
10, 11
suse
linux enterprise server
10, 11
suse
linux enterprise software development kit
11

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.5.2
  • V15.3.5

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent type-confusion flaws via safe typing, static analysis, and code review while the control itself addresses many additional weaknesses.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect type-confusion vulnerabilities through fuzzing and static analysis.

prevents

Secure coding standards directly forbid unsafe type casts and require static-analysis checks for type confusion.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses in delivered code the way those practices do; type confusion is a regular implementation defect that secure coding practice addresses, but the clause mandates a practice rather than a mechanism, leaving a nameable remainder.

finds

A.8.8's reach is disclosure-based: it finds type confusion where it surfaces as a published CVE in third-party components (the observed examples show CVEs do exist for this class), but misses first-party code entirely (that is A.8.29's domain) and the research-gap note indicates many type confusion instances are reported as 'memory corruption' rather than type confusion specifically, shrinking the disclosed share.

References