Security Vulnerability Report
中文
CVE-2025-58410 CVSS 7.5 HIGH

CVE-2025-58410

Published: 2025-11-17 17:15:49
Last Modified: 2026-01-12 15:14:01
Source: 367425dc-4d06-4041-9650-c2dc6aaa27ce

Description

Software installed and run as a non-privileged user may conduct improper GPU system calls to gain write permissions to memory buffers exported as read-only. This is caused by improper handling of the memory protections for the buffer resource.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:imaginationtech:ddk:23.3:rtm:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:imaginationtech:ddk:24.1:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:imaginationtech:ddk:24.2:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:imaginationtech:ddk:24.2:rtm1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:imaginationtech:ddk:24.2:rtm2:*:*:*:*:*:* - VULNERABLE
Imagination Technologies GPU Driver < 受影响版本
PowerVR GPU Driver (所有未修补版本)
使用Imagination GPU的嵌入式系统
虚拟化环境中的GPU共享组件

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58410 PoC - GPU Driver Memory Protection Bypass # This PoC demonstrates improper memory protection handling in Imagination GPU driver import ctypes import os # Simulated GPU driver structures class GPU_BUFFER_INFO(ctypes.Structure): _fields_ = [ ('buffer_handle', ctypes.c_void_p), ('size', ctypes.c_size_t), ('flags', ctypes.c_uint32), ('protection', ctypes.c_uint32) ] # Protection flags PAGE_READONLY = 0x02 PAGE_READWRITE = 0x04 GPU_BUFFER_EXPORTED = 0x1000 def exploit_gpu_memory_protection_bypass(): """ Simulates exploitation of CVE-2025-58410 The vulnerability allows writing to read-only exported GPU buffers """ print("[*] CVE-2025-58410 - GPU Driver Memory Protection Bypass") print("[*] Target: Imagination Technologies GPU Driver") # Step 1: Create a buffer with read-only protection print("\n[Step 1] Creating GPU buffer with READ-ONLY protection") buffer_info = GPU_BUFFER_INFO() buffer_info.buffer_handle = ctypes.c_void_p(0xDEADBEEF) buffer_info.size = 4096 buffer_info.protection = PAGE_READONLY buffer_info.flags = GPU_BUFFER_EXPORTED print(f" Buffer Handle: 0x{buffer_info.buffer_handle.value:x}") print(f" Protection: READ-ONLY (0x{buffer_info.protection:x})") # Step 2: Export the buffer for cross-process sharing print("\n[Step 2] Exporting buffer for cross-process access") export_handle = buffer_info.buffer_handle.value ^ 0x12345678 print(f" Export Handle: 0x{export_handle:x}") print(" [VULNERABILITY] Driver fails to maintain read-only protection on export") # Step 3: Map the exported buffer print("\n[Step 3] Mapping exported buffer in unprivileged context") mapped_addr = ctypes.c_void_p(0x7FFF0000000) print(f" Mapped Address: 0x{mapped_addr.value:x}") # Step 4: Attempt to write to read-only buffer (vulnerability exploitation) print("\n[Step 4] Writing to supposedly READ-ONLY buffer") write_data = b"\x41" * 1024 print(f" Data to write: {len(write_data)} bytes") print(" [VULNERABILITY] Write operation succeeds due to improper protection handling") # Step 5: Verify write success print("\n[Step 5] Verifying memory modification") print(" [SUCCESS] Successfully wrote to read-only GPU buffer") print(" [IMPACT] Attacker can now modify protected memory regions") return True if __name__ == "__main__": print("=" * 60) print("CVE-2025-58410 Proof of Concept") print("Imagination GPU Driver Memory Protection Bypass") print("=" * 60) exploit_gpu_memory_protection_bypass()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58410", "sourceIdentifier": "367425dc-4d06-4041-9650-c2dc6aaa27ce", "published": "2025-11-17T17:15:48.880", "lastModified": "2026-01-12T15:14:01.303", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Software installed and run as a non-privileged user may conduct improper GPU system calls to gain write permissions to memory buffers exported as read-only.\n\nThis is caused by improper handling of the memory protections for the buffer resource."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "367425dc-4d06-4041-9650-c2dc6aaa27ce", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-280"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:23.3:rtm:*:*:*:*:*:*", "matchCriteriaId": "BBB46CFB-7819-4225-AD3E-EB13F7E61444"}, {"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:24.1:-:*:*:*:*:*:*", "matchCriteriaId": "DB68E2A0-27F5-42E4-8240-DBDB1C43BEA1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:24.2:-:*:*:*:*:*:*", "matchCriteriaId": "F79525E7-FAC1-40D0-BD11-D0BA905E72A6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:24.2:rtm1:*:*:*:*:*:*", "matchCriteriaId": "9428B407-244E-4123-B47B-050F0D6C8712"}, {"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:24.2:rtm2:*:*:*:*:*:*", "matchCriteriaId": "B7DB1A5B-11BE-48D4-9EF9-001EB3575F40"}, {"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:24.3:-:*:*:*:*:*:*", "matchCriteriaId": "662F2758-3CFA-4571-8C97-65E706DD8758"}, {"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:25.1:-:*:*:*:*:*:*", "matchCriteriaId": "27FDCFEF-64B2-4CE6-A22A-B87A827E288F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:25.2:-:*:*:*:*:*:*", "matchCriteriaId": "29AB05F8-8045-4857-8905-3DDF94C841B7"}, {"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:25.2:rtm:*:*:*:*:*:*", "matchCriteriaId": "BACA4D29-2B32-46BC-9427-70368ADB9A40"}]}]}], "references": [{"url": "https://www.imaginationtech.com/gpu-driver-vulnerabilities/", "source": "367425dc-4d06-4041-9650-c2dc6aaa27ce", "tags": ["Vendor Advisory"]}]}}