Overview
CVE-2025-21587 is a critical vulnerability found in Oracle’s Java SE and GraalVM products. The vulnerability allows an unauthenticated attacker to compromise these systems through network access, leading to potential unauthorized access, modification, or deletion of critical data. This vulnerability has a significant impact as it can lead to system compromise or data leakage.
Vulnerability Summary
CVE ID: CVE-2025-21587
Severity: High (CVSS 7.4)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: Unauthorized creation, deletion, or modification access to critical data or all accessible data, and unauthorized access to critical data or complete access to all accessible data.
Affected Products
Product | Affected Versions
Oracle Java SE | 8u441, 8u441-perf, 11.0.26, 17.0.14, 21.0.6, 24
Oracle GraalVM for JDK | 17.0.14, 21.0.6, 24
Oracle GraalVM Enterprise Edition | 20.3.17, 21.3.13
How the Exploit Works
The vulnerability can be exploited by an unauthenticated attacker with network access via multiple protocols. This exploit primarily targets the JSSE component of Oracle’s Java SE and GraalVM. APIs in the JSSE component can be manipulated through a web service supplying data to these APIs. This exploit can be used in Java deployments that load and run untrusted code and rely on the Java sandbox for security.
Conceptual Example Code
POST /vulnerable/JSSE_API HTTP/1.1
Host: target.example.com
Content-Type: application/json
{
"malicious_payload": "untrusted code causing unauthorized data access or modification"
}
This conceptual example shows how an attacker might send a malicious payload to the vulnerable JSSE API, leading to unauthorized data access or modification.
