Security Vulnerability Report
中文
CVE-2025-10865 CVSS 7.8 HIGH

CVE-2025-10865

Published: 2026-01-13 18:16:04
Last Modified: 2026-01-30 18:39:09
Source: 367425dc-4d06-4041-9650-c2dc6aaa27ce

Description

Software installed and run as a non-privileged user may conduct improper GPU system calls to cause mismanagement of reference counting to cause a potential use after free. Improper reference counting on an internal resource caused scenario where potential for use after free was present.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:imaginationtech:ddk:*:*:*:*:*:*:*:* - VULNERABLE
Imagination Technologies GPU Driver < 最新修复版本
受影响产品包括使用Imagination PowerVR GPU的系统

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-10865 PoC - GPU Reference Counting Use-After-Free // Target: Imagination Technologies GPU Driver // Attack Type: Local Privilege Escalation #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> // Simulated GPU handle typedef struct { uint64_t handle_id; uint32_t ref_count; void* memory_ptr; } gpu_resource_t; gpu_resource_t* create_gpu_resource() { gpu_resource_t* res = (gpu_resource_t*)malloc(sizeof(gpu_resource_t)); if (res) { res->handle_id = 0x1337; res->ref_count = 1; res->memory_ptr = malloc(0x1000); } return res; } // Vulnerability: Improper reference counting void release_resource_vuln(gpu_resource_t* res) { if (res && --res->ref_count == 0) { // Use-After-Free: Memory freed but pointer not nullified free(res->memory_ptr); free(res); } } void trigger_uaf() { gpu_resource_t* res = create_gpu_resource(); if (!res) return; // Multiple references to same resource gpu_resource_t* ref1 = res; gpu_resource_t* ref2 = res; // First release release_resource_vuln(ref1); // Use after free - accessing freed memory printf("[+] Triggering Use-After-Free...\n"); printf("[+] Accessing freed memory at: %p\n", ref2->memory_ptr); // Overwrite freed memory memset(ref2->memory_ptr, 0x41, 0x100); printf("[+] Use-After-Free successful - memory corrupted\n"); } int main() { printf("CVE-2025-10865 PoC - GPU Driver UAF\n"); printf("Requires local access with low privileges\n"); trigger_uaf(); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10865", "sourceIdentifier": "367425dc-4d06-4041-9650-c2dc6aaa27ce", "published": "2026-01-13T18:16:04.433", "lastModified": "2026-01-30T18:39:09.417", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Software installed and run as a non-privileged user may conduct improper GPU system calls to cause mismanagement of reference counting to cause a potential use after free.\n\nImproper reference counting on an internal resource caused scenario where potential for use after free was present."}, {"lang": "es", "value": "El software instalado y ejecutado como un usuario no privilegiado puede realizar llamadas al sistema de GPU incorrectas para causar una gestión incorrecta del conteo de referencias y provocar un potencial uso después de la liberación.\n\nEl conteo de referencias incorrecto en un recurso interno causó un escenario donde estaba presente el potencial de uso después de la liberación."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "367425dc-4d06-4041-9650-c2dc6aaa27ce", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-416"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:imaginationtech:ddk:*:*:*:*:*:*:*:*", "versionEndExcluding": "25.3", "matchCriteriaId": "99A33CBA-49C5-4976-B668-88F87F0FF575"}]}]}], "references": [{"url": "https://www.imaginationtech.com/gpu-driver-vulnerabilities/", "source": "367425dc-4d06-4041-9650-c2dc6aaa27ce", "tags": ["Vendor Advisory"]}]}}