CVE-2024-0023: Out of Bounds Write in ConvertRGBToPlanarYUV in libsfplugin_ccodec_utils

platform/frameworks/av Updated 02 Oct 2025

Summary

01/01/2024
Yes i
High
Not published

CVE-2024-0023: In ConvertRGBToPlanarYUV of Codec2BufferUtils.cpp, there is a possible out of bounds write due to an incorrect bounds check. Affects platform/frameworks/av across 6 version ranges.

>= 11:0, < 11:2024-01-01 >= 12:0, < 12:2024-01-01 >= 12L:0, < 12L:2024-01-01 >= 13:0, < 13:2024-01-01 >= 14:0, < 14:2024-01-01 >= 14-next:0, < 14-next:2024-01-01

Fixed in 14-next:2024-01-01. 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 package under scrutiny is 'platform/frameworks/av' in the Android ecosystem. This package is responsible for handling audio and video functionality in the Android operating system. It provides APIs and utilities for encoding, decoding, and processing audio and video data. The vulnerability affects the 'ConvertRGBToPlanarYUV' function in the 'C2InterfaceHelper.cpp' file of the 'libsfplugin_ccodec_utils' module within the 'platform/frameworks/av' package.

Vulnerability Detail

The vulnerability arises due to an incorrect bounds check in the 'ConvertRGBToPlanarYUV' function of the 'C2InterfaceHelper.cpp' file. This flaw allows an attacker to perform an out-of-bounds write, potentially leading to a local escalation of privilege. The vulnerability does not require any additional execution privileges or user interaction for exploitation. If successfully exploited, an attacker could gain elevated privileges on the affected system. The vulnerability was first introduced in version 11.0 of the 'platform/frameworks/av' package and has been fixed in versions 12.0, 12L.0, 13.0, and 14.0.

How To Fix

Minimum fixed version

14-next:2024-01-01

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

There is no known workaround for this vulnerability. It is recommended to apply the official fix provided by the package maintainers.

Conclusion

In conclusion, the 'platform/frameworks/av' package in the Android ecosystem is vulnerable to an out-of-bounds write vulnerability in the 'ConvertRGBToPlanarYUV' function of the 'C2InterfaceHelper.cpp' file. This vulnerability can be exploited to achieve local escalation of privilege. It is recommended to update the package to a fixed version released on or after January 1, 2024. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/av →

Share this vulnerability

FAQ

The vulnerability allows an attacker to perform an out-of-bounds write, potentially leading to a local escalation of privilege. If successfully exploited, an attacker could gain elevated privileges on the affected system.

No, user interaction is not needed for exploitation of this vulnerability.

The vulnerability was introduced in version 11.0 and has been fixed in versions 12.0, 12L.0, 13.0, and 14.0.

The only known mitigation is to update the 'platform/frameworks/av' package to a version that includes the fix.

You can find more information about this vulnerability in the official Android Open Source Project (AOSP) security bulletin: https://storage.googleapis.com/android-osv/ASB-A-283099444.json

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/av.

How To Fix

Minimum fixed version

14-next:2024-01-01

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