CVE-2025-36907: Android Package Vulnerability Leading to Local Privilege Escalation via Heap Buffer Overflow

:unknown: Updated 02 Oct 2025

Summary

01/09/2025
Yes i
High
Not published

CVE-2025-36907: In draw_surface_image() of abl/android/lib/draw/draw.c, there is a possible out of bounds write due to a heap buffer overflow. Affects :unknown: versions >= Pixel-family specific:0, < Pixel-family specific:2025-09-05. Fixed in Pixel-family specific:2025-09-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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Android operating system is a widely used open-source platform that powers a variety of devices, including smartphones and tablets. It provides a rich application framework that allows developers to build innovative apps. However, like any software, it is susceptible to vulnerabilities. This specific vulnerability affects the draw_surface_image() function in the Android library, which is responsible for rendering images on the screen. The vulnerability arises from a heap buffer overflow, which can be exploited to escalate privileges locally.

Vulnerability Detail

In draw_surface_image() of abl/android/lib/draw/draw.c, there is a possible out of bounds write due to a heap buffer overflow. This vulnerability can lead to local escalation of privilege via USB fastboot after a bootloader unlock, requiring no additional execution privileges. User interaction is necessary for exploitation, making it a significant security concern for affected devices.

How To Fix

Minimum fixed version

Pixel-family specific:2025-09-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 mentioned for this vulnerability. However, users are advised to avoid using USB fastboot until the patch is applied to mitigate potential exploitation.

Conclusion

The CVE-2025-36907 vulnerability presents a significant risk for Android devices, allowing local privilege escalation through a heap buffer overflow. Users are encouraged to update their devices to the latest version to mitigate this risk and should remain vigilant about potential exploitation methods.

See every vulnerability recorded for :unknown: →

Share this vulnerability

FAQ

CVE-2025-36907 is a vulnerability in the Android operating system that allows for local privilege escalation due to a heap buffer overflow.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor vulnerabilities without needing to sign up.

If your device is vulnerable, you should update to the patched version of Android as soon as it becomes available.

Yes, user interaction is required to exploit this vulnerability, as it involves using USB fastboot after a bootloader unlock.

Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in software, using just the gradle.lockfile.

Related vulnerabilities

Recent vulnerabilities recorded for :unknown:.

How To Fix

Minimum fixed version

Pixel-family specific:2025-09-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