IBM Java up to 7.0 Sandbox java.lang.Class getDeclaredMethods memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability, which was classified as critical, has been found in IBM Java up to 7.0 (Programming Language Software). This issue affects the function getDeclaredMethods of the file java.lang.Class of the component Sandbox. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability.

The weakness was released 11/13/2012 by Adam Gowdiak with Security Explorations as confirmed advisory (Website). The advisory is shared at The identification of this vulnerability is CVE-2012-4821 since 09/06/2012. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 04/19/2021). It is expected to see the exploit prices for this product decreasing in the near future.

The vulnerability scanner Nessus provides a plugin with the ID 63281 (IBM Lotus Notes 8.5.1 / 8.5.2 / 8.5.3 < 8.5.3 FP3 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows. The commercial vulnerability scanner Qualys is able to test this issue with plugin 121159 (IBM Java SDK Multiple Vulnerabilities (IBM Security Update November 2012)).

Upgrading to version 7 SR3, 6.0.1 SR4, 6 SR12 or 5 SR15 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (78765), Vulnerability Center (SBV-37534) and Tenable (63281). Entries connected to this vulnerability are available at 6942, 6943, 6944 and 7191.






  • commercial

CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 8.7

VulDB Base Score: 10.0
VulDB Temp Score: 8.7
VulDB Vector: 🔍
VulDB Reliability: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 63281
Nessus Name: IBM Lotus Notes 8.5.1 / 8.5.2 / 8.5.3 < 8.5.3 FP3 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Java 7 SR3/6.0.1 SR4/6 SR12/5 SR15/


09/06/2012 🔍
09/11/2012 +5 days 🔍
09/11/2012 +0 days 🔍
11/13/2012 +63 days 🔍
11/13/2012 +0 days 🔍
11/14/2012 +1 days 🔍
11/14/2012 +0 days 🔍
11/16/2012 +2 days 🔍
12/06/2012 +20 days 🔍
01/10/2013 +35 days 🔍
04/19/2021 +3021 days 🔍



Researcher: Adam Gowdiak
Organization: Security Explorations
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-4821 (🔍)

X-Force: 78765 - IBM Java getDeclaredMethods() and setAccessible() code execution, High Risk
Vulnerability Center: 37534 - IBM Java Insecure Use of \x27getDeclaredMethods()\x27 and \x27setAccessible()\x27 Allows Remote Code Execution, Medium
SecurityFocus: 55495 - IBM Java Multiple Remote Code Execution Vulnerabilities
Secunia: 51244 - IBM Java Multiple Vulnerabilities, Highly Critical
OSVDB: 87299

See also: 🔍


Created: 11/16/2012 10:25 AM
Updated: 04/19/2021 11:35 AM
Changes: 11/16/2012 10:25 AM (82), 04/22/2017 12:50 PM (4), 04/19/2021 11:35 AM (2)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!