CVE-2024-0051: Out of Bounds Read and Write in onQueueFilled in outQueue in libstagefright_soft_mpeg4dec

platform/frameworks/av Updated 02 Oct 2025

Summary

01/03/2024
Yes i
High
Not published

CVE-2024-0051: In onQueueFilled of SoftMPEG4.cpp, there is a possible out of bounds write due to a heap buffer overflow. Affects platform/frameworks/av across 5 version ranges.

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

Fixed in 14-next:2024-03-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 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 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 includes various components for media playback, recording, and processing. One of these components is libstagefright_soft_mpeg4dec, which is used for decoding MPEG-4 video streams. This vulnerability affects versions 12, 12L, 13, and 14 of the package.

Vulnerability Detail

The vulnerability resides in the onQueueFilled function of the SoftMPEG4.cpp file in libstagefright_soft_mpeg4dec. It is caused by a heap buffer overflow, leading to an out of bounds write. An attacker can exploit this vulnerability to escalate their privileges locally without requiring any additional execution privileges. The exploitation does not require user interaction. The impact of this vulnerability can be severe, as it allows an attacker to gain elevated privileges on the affected system.

How To Fix

Minimum fixed version

14-next:2024-03-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 specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, the platform/frameworks/av package in the Android ecosystem is vulnerable to an out of bounds read and write in the onQueueFilled function of the libstagefright_soft_mpeg4dec component. This vulnerability can be exploited by an attacker to escalate their privileges locally. It is recommended to update the package to the fixed version and apply the necessary fix to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/av →

Share this vulnerability

FAQ

The package affected by this vulnerability is platform/frameworks/av in the Android ecosystem.

The impact of this vulnerability is the local escalation of privilege, allowing an attacker to gain elevated privileges on the affected system.

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

Versions 12, 12L, 13, and 14 of the package are affected by this vulnerability.

The fix for this vulnerability can be found in the commit 8f4cfda9fc75f1e9ba3b6dee3fbffda4b6111d64.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/av.

How To Fix

Minimum fixed version

14-next:2024-03-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