Safeguard
Vulnerability Analysis•

CVE-2023-21165: High Use After Free in Android PowerVR GPU

A use after free in the PowerVR GPU driver (devicemem_server.c) can lead to local kernel privilege escalation. High, CVSS 7.8. Apply the 2024-01-05 patch.

Safeguard Security Team
3 min read

CVE-2023-21165 is a high severity use after free (CVSS 7.8) in DevmemIntUnmapPMR of devicemem_server.c, part of the Imagination PowerVR GPU driver used on some Android devices. It can lead to local kernel privilege escalation. Devices at the 2024-01-05 security patch level or later address it.

What's affected

  • Android devices that ship the Imagination Technologies PowerVR GPU driver. The January 2024 bulletin lists the issue under Imagination Technologies, subcomponent PowerVR-GPU.
  • The bulletin says details are available directly from Imagination Technologies, and that the severity assessment is theirs. It marks the issue High.
  • The record lists Android generally, with no version, as the platform.
  • Fixed at security patch level 2024-01-05 or later, per the bulletin.
  • Severity: CVSS 3.1 score 7.8 High, vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

How to check if you're exposed

Check the patch level on each device:

adb shell getprop ro.build.version.security_patch
adb shell getprop ro.hardware.egl

The second property reports the graphics driver family on many devices, though not every vendor sets it. If it is empty, look up the SoC and GPU in the vendor spec sheet. Only devices with a PowerVR GPU are in scope. A patch level of 2024-01-05 or later includes the fix.

What to do now

  1. List devices by SoC and GPU. Mark the ones with PowerVR graphics.
  2. Read the security patch level of each, and flag anything older than 2024-01-05.
  3. Install the vendor update that includes the January 2024 patch level or newer.
  4. If a device is out of support, treat it as exposed to local privilege escalation and limit what runs on it.
  5. Review the Imagination Technologies notice for your driver version if you build your own firmware.

Why it matters

The weakness is CWE-416 (Use After Free). The code frees a memory object and later uses it again, which can corrupt memory. In a kernel driver this is serious, because the driver runs with full privileges. The description states it could lead to arbitrary code execution in the kernel from a local starting point.

GPU drivers are a common place for local escalation bugs, since apps are allowed to talk to them and they handle complex memory mappings. The record shows no sign of exploitation, and it is not a KEV entry. Patch it on the normal security cycle, a little faster for devices that handle sensitive data.

Quick check

Why is a GPU driver bug rated like a kernel bug?

Because the driver runs in the kernel. A memory safety error there gives an attacker the same powers as the kernel, which is why the description speaks of kernel privilege escalation.

Is every Android phone affected?

No. The bulletin ties it to the PowerVR GPU component from Imagination Technologies. Devices with other GPU vendors are outside this entry.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

We email you a link to confirm, and only then add you to the list. Unsubscribe in one click. Privacy

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.