CVE-2023-21401: Android Device Memory Management Vulnerability Leading to Local Privilege Escalation

:unknown: Updated 02 Oct 2025

Summary

01/12/2023
Yes i
High
Not published

CVE-2023-21401: In DevmemIntChangeSparse of devicemem_server.c, there is a possible out of bounds write due to an integer overflow. Affects :unknown: versions >= SoCVersion:0, < SoCVersion:2023-12-05. Fixed in SoCVersion:2023-12-05. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vulnerability affects the Android ecosystem, specifically within the device memory management component. This component is responsible for handling memory allocation and access for various applications and system processes. The vulnerability arises from an integer overflow in the DevmemIntChangeSparse function of the devicemem_server.c file, which can lead to unintended memory writes, potentially compromising system integrity.

Vulnerability Detail

In the DevmemIntChangeSparse function of devicemem_server.c, an integer overflow can occur, resulting in an out-of-bounds write. This vulnerability allows for local escalation of privileges within the kernel, meaning that an attacker could gain higher access rights without needing additional execution privileges. The exploitation of this vulnerability does not require user interaction, making it particularly dangerous.

How To Fix

Minimum fixed version

SoCVersion:2023-12-05

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds available for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

CVE-2023-21401 represents a significant security vulnerability within the Android ecosystem, specifically related to device memory management. Users are strongly advised to update their systems to the latest patched version to protect against potential exploitation. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.

See every vulnerability recorded for :unknown: →

Share this vulnerability

FAQ

CVE-2023-21401 is a vulnerability in the Android device memory management system that allows for local privilege escalation due to an integer overflow.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

The primary risk is local escalation of privileges, which could allow an attacker to gain unauthorized access to sensitive system resources and data.

No, user interaction is not needed for exploitation, making it a critical security concern.

While there are no specific workarounds, it is crucial to prioritize updating your device to the patched version as soon as possible to mitigate the risks.

Related vulnerabilities

Recent vulnerabilities recorded for :unknown:.

How To Fix

Minimum fixed version

SoCVersion:2023-12-05

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback