Skip to main content

CVE-2025-0050: Arm GPU Userspace Driver Buffer Overflow

CVE-2025-0050 is a buffer overflow vulnerability in Arm GPU Userspace Drivers affecting Bifrost, Valhall, and 5th Gen architectures that allows non-privileged processes to access memory outside buffer bounds. This post covers technical details, affected versions, impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-0050 Overview

CVE-2025-0050 is an out-of-bounds memory access vulnerability affecting Arm Mali GPU userspace drivers. The flaw resides in the Bifrost, Valhall, and Arm 5th Gen GPU architecture userspace drivers. A non-privileged user process can submit valid GPU processing operations that read or write a limited amount of memory outside buffer bounds. Exploitation is possible through standard graphics APIs including WebGL and WebGPU, extending the attack surface to web content rendered in a browser. The vulnerability is tracked under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.

Critical Impact

A local non-privileged process, including JavaScript executing WebGL or WebGPU workloads in a browser tab, can access memory outside valid GPU buffer bounds, risking information disclosure and local tampering on affected Arm Mali devices.

Affected Products

  • Arm Bifrost GPU Userspace Driver: r0p0 through r49p2, and r50p0 through r51p0
  • Arm Valhall GPU Userspace Driver: r19p0 through r49p2, and r50p0 through r53p0
  • Arm 5th Gen GPU Architecture Userspace Driver: r41p0 through r49p2, and r50p0 through r53p0

Discovery Timeline

  • 2025-04-07 - CVE-2025-0050 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-0050

Vulnerability Analysis

The vulnerability allows an unprivileged local process to coerce the Arm Mali GPU userspace driver into performing memory accesses that extend beyond allocated buffer boundaries. The driver fails to adequately validate the size or offset parameters attached to GPU processing operations before dispatching them to the hardware. As a result, otherwise valid GPU command streams can read or write a bounded region of adjacent memory. Because WebGL and WebGPU expose GPU command submission to untrusted web content, the issue can be reached by malicious JavaScript without the user installing an application. The EPSS score is 0.164%, indicating low observed exploitation activity so far.

Root Cause

The underlying weakness is improper restriction of operations within the bounds of a memory buffer [CWE-119] in the userspace components of the Mali driver stack. Buffer bounds enforcement for certain GPU operations relies on parameters supplied through the driver API without sufficient validation against the backing allocation. When the driver forwards the operation to the GPU, the device accesses memory addresses that fall outside the intended buffer. The out-of-bounds region is limited in size, which constrains the impact but still permits leakage or corruption of neighboring data.

Attack Vector

The attack requires local access on a device using an affected Arm Mali GPU driver version. An attacker runs a non-privileged process that issues crafted but syntactically valid GPU work. The same primitive is reachable from the browser sandbox when WebGL or WebGPU is enabled, allowing a remote attacker to deliver the payload by hosting a malicious page. No user interaction beyond visiting the page is required. The attacker gains limited read, write, or availability impact against the GPU process context and adjacent memory structures.

No public proof-of-concept has been published for CVE-2025-0050. Refer to the Arm security advisory for authoritative technical details.

Detection Methods for CVE-2025-0050

Indicators of Compromise

  • GPU process crashes, kernel panics, or kbase driver faults correlated with browser or application sessions using WebGL or WebGPU workloads.
  • Unexpected userspace exceptions originating from libmali.so or vendor-specific Mali driver libraries.
  • Browser renderer processes repeatedly spawning GPU compute shaders with anomalous buffer binding patterns.

Detection Strategies

  • Inventory devices to identify Arm Mali GPUs running Bifrost, Valhall, or 5th Gen architecture driver revisions within the affected ranges.
  • Correlate GPU driver fault logs with process execution telemetry to identify unprivileged processes triggering repeated out-of-bounds faults.
  • Monitor web traffic for domains hosting unexpected WebGPU or WebGL compute workloads delivered to Android or Linux Arm-based endpoints.

Monitoring Recommendations

  • Collect dmesg and vendor GPU driver logs centrally and alert on recurring MMU fault or page fault events tied to GPU contexts.
  • Enable browser telemetry for GPU process termination events and investigate clusters originating from a single site.
  • Track application and OS updates on mobile and embedded fleets to confirm patched driver revisions are deployed.

How to Mitigate CVE-2025-0050

Immediate Actions Required

  • Identify all endpoints and mobile devices using Arm Mali Bifrost, Valhall, or 5th Gen GPUs and compare installed driver revisions against the affected ranges.
  • Apply the fixed Arm Mali userspace driver releases as distributed by the device OEM or Linux distribution.
  • Where patches are not yet available, disable or restrict WebGPU and WebGL in browsers used on affected devices.

Patch Information

Arm has published remediation guidance in the Arm Mali GPU Driver Vulnerabilities advisory. Fixed revisions supersede Bifrost r51p0, Valhall r53p0, and 5th Gen r53p0. Because the Mali userspace driver is delivered through system-on-chip vendors and device OEMs, patch availability depends on vendor firmware or OS updates. Confirm patch inclusion through the OEM security bulletin for each device model.

Workarounds

  • Disable WebGPU in browser settings on affected devices if patched drivers are not available.
  • Restrict execution of untrusted native applications that can submit GPU workloads on affected systems.
  • Apply browser-level site isolation and strict content security policies to limit exposure from malicious web content.
bash
# Chrome/Chromium: disable WebGPU and WebGL as a temporary mitigation
chrome --disable-features=WebGPU --disable-webgl --disable-webgl2

# Firefox: set the following in about:config
# dom.webgpu.enabled = false
# webgl.disabled = true

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.