Security Advisory

CVE-2021-28663: Arm Mali GPU Driver Use-After-Free

Last updated:
  • CVE-2021-28663

CVE-2021-28663 is a use-after-free in the Arm Mali GPU kernel driver: mishandled GPU memory operations let an unprivileged user gain root or read kernel data. Bifrost and Valhall are fixed in r29p0, and NVD treats Midgard r31p0 as unaffected. NVD scores it 8.8, CISA lists it in KEV, and Android fixed it at patch level 2021-05-05.

Vulnerability summary

CVSS base score

8.8

High severity

EPSS score (FIRST)

12.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2021-28663 · Source: NVD

Affected components

ComponentCPEVersion range
Arm Bifrost GPU Kernel Drivercpe:2.3:a:arm:bifrost_gpu_kernel_driver:*:*:*:*:*:*:*:*r0p0 through r28p0 affected, fixed in r29p0 (CVE record; NVD: from r0p0, before r29p0)
Arm Valhall GPU Kernel Drivercpe:2.3:a:arm:valhall_gpu_kernel_driver:*:*:*:*:*:*:*:*r19p0 through r28p0 affected, fixed in r29p0 (CVE record; NVD: from r19p0, before r29p0)
Arm Midgard GPU Kernel Drivercpe:2.3:a:arm:midgard_gpu_kernel_driver:*:*:*:*:*:*:*:*r4p0 through r30p0 affected (CVE record; NVD: from r4p0, before r31p0)
Android devices with an Arm Mali GPU—Security patch level before 2021-05-05; fixed at 2021-05-05 or later (Android Security Bulletin May 2021, A-174259860)

What does this mean for affected devices?

CVE-2021-28663 is a use-after-free (CWE-416) in the Arm Mali GPU kernel driver, the kbase driver in the kernel of devices built on a Mali GPU. The CVE record, published by MITRE on 2021-05-10, says the driver "allows privilege escalation or information disclosure because GPU memory operations are mishandled, leading to a use-after-free" (CVE record). NVD's Primary score is 8.8, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, plus NVD CVSS v2 9.0; CISA's ADP container gives the same 8.8, and the record carries no CNA score (NVD).

Which Mali driver releases are affected?

The record lists Bifrost r0p0 through r28p0 "before r29p0", Valhall r19p0 through r28p0 "before r29p0", and Midgard r4p0 through r30p0. NVD's CPE ranges match for Bifrost and Valhall and end before r31p0 for Midgard. NVD links Arm's Mali GPU Driver Vulnerabilities page and its security updates page as vendor references.

How do you fix CVE-2021-28663?

Owners get the fix through device firmware. The Android Security Bulletin for May 2021 notes: "There are indications that CVE-2021-1905, CVE-2021-1906, CVE-2021-28663 and CVE-2021-28664 may be under limited, targeted exploitation." It lists CVE-2021-28663 (A-174259860, severity High as assessed by Arm) under ARM components at the 2021-05-05 patch level, so a device at 2021-05-05 or later includes it. Device makers who build their own kernels use Bifrost or Valhall r29p0 or later, and for Midgard r31p0 or later, the first release NVD treats as unaffected. CISA's required action is to apply updates per vendor instructions; a device stuck below the May 2021 patch level has no fix and should be retired. The memory corruption fix guide covers use-after-free, and the Linux kernel CVE guide covers tracking vendor kernel drivers.

Is CVE-2021-28663 exploited?

Yes. CISA added it to the KEV catalog on 2021-11-03, the earliest date in the catalog, as "Arm Mali Graphics Processing Unit (GPU) Use-After-Free Vulnerability", due 2021-11-17, with known ransomware campaign use marked Unknown. It is listed as of 2026-11-25 (catalog version 2026.11.24). FIRST EPSS gives it 0.12181, the 96th percentile, in the 2026-11-24 dataset; the KEV and EPSS prioritisation guide explains how to rank the two signals. Its companion in the same bulletin is CVE-2021-28664; a later Mali use-after-free in KEV is CVE-2021-29256.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD: status Analyzed; [email protected] Primary CVSS 3.1 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H and Primary CVSS 2.0 9.0; CISA-ADP Secondary 8.8 same vector; CWE-416; CPE Bifrost r0p0 before r29p0, Valhall r19p0 before r29p0, Midgard r4p0 before r31p0; published 2021-05-10; read 2026-11-25. — NVD
  • CVE record (CNA MITRE, published 2021-05-10): use-after-free, privilege escalation or information disclosure; Bifrost r0p0 through r28p0 before r29p0, Valhall r19p0 through r28p0 before r29p0, Midgard r4p0 through r30p0. — CVE.org
  • Android Security Bulletin May 2021: There are indications that CVE-2021-1905, CVE-2021-1906, CVE-2021-28663 and CVE-2021-28664 may be under limited, targeted exploitation; CVE-2021-28663 A-174259860, High, Mali, ARM components, 2021-05-05 security patch level. — Android Security Bulletin
  • CISA KEV catalog 2026.11.24: dateAdded 2021-11-03, due 2021-11-17, knownRansomwareCampaignUse Unknown, CWE-416; required action: Apply updates per vendor instructions. Checked 2026-11-25. — CISA KEV
  • EPSS 0.12181, percentile 0.96235, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2021-28663 (CNA: MITRE)
  3. Android Security Bulletin, May 2021
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which Arm Mali driver release fixes CVE-2021-28663?

Bifrost and Valhall r29p0. Affected releases are Bifrost r0p0 through r28p0, Valhall r19p0 through r28p0 and Midgard r4p0 through r30p0; NVD treats Midgard r31p0 as the first unaffected release (per the CVE record and NVD).

Which Android patch level fixes CVE-2021-28663?

Security patch level 2021-05-05. The May 2021 Android Security Bulletin lists it under ARM components and notes signs of limited, targeted exploitation (per the Android Security Bulletin).

How is CVE-2021-28663 different from CVE-2021-28664?

Both are Mali GPU kernel driver flaws in the same May 2021 Android bulletin. CVE-2021-28663 is a use-after-free fixed in Bifrost and Valhall r29p0; CVE-2021-28664 gives write access to read-only pages and is fixed in r30p0 (per the CVE records).

Is CVE-2021-28663 exploited in the wild?

Yes. CISA added it to the KEV catalog on 2021-11-03, and it is listed as of 2026-11-25 (catalog version 2026.11.24) with ransomware use marked Unknown. FIRST EPSS gives it 0.12181, the 96th percentile, in the 2026-11-24 dataset (per CISA KEV and FIRST EPSS).