CVE-2022-20418: Out of Bounds Read in libstagefright_rtsp

platform/frameworks/av Updated 02 Oct 2025

Summary

01/10/2022
Yes i
High
Not published

CVE-2022-20418: In pickStartSeq of AAVCAssembler.cpp, there is a possible out of bounds read due to a missing bounds check. Affects platform/frameworks/av across 3 version ranges.

>= 12:0, < 12:2022-10-01 >= 12L:0, < 12L:2022-10-01 >= 13:0, < 13:2022-10-01

Fixed in 12:2022-10-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 libstagefright_rtsp package is a component of the Android platform's frameworks/av module. It provides functionality for handling Real-Time Streaming Protocol (RTSP) streams. This package is responsible for parsing and assembling audio and video data from RTSP streams. It is a critical component for media playback on Android devices.

Vulnerability Detail

The vulnerability, identified as CVE-2022-20418, exists in the pickStartSeq function of the AAVCAssembler.cpp file in libstagefright_rtsp. It is caused by a missing bounds check, leading to an out of bounds read. An attacker can exploit this vulnerability remotely, without requiring any additional execution privileges or user interaction. By leveraging this flaw, an attacker can potentially disclose sensitive information from the targeted device.

How To Fix

Minimum fixed version

12:2022-10-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. However, developers can consider implementing additional security measures, such as network segmentation and access controls, to mitigate the risk of remote exploitation.

Conclusion

The vulnerability identified as CVE-2022-20418 in libstagefright_rtsp poses a significant risk to the confidentiality of sensitive information on Android devices. It is crucial for developers to promptly update their codebase with the necessary security patches to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/av →

Share this vulnerability

FAQ

libstagefright_rtsp is a package in the Android platform's frameworks/av module that handles Real-Time Streaming Protocol (RTSP) streams for media playback.

This vulnerability allows remote attackers to read sensitive information from the targeted device without requiring any additional execution privileges or user interaction.

No, user interaction is not needed for exploiting this vulnerability.

Developers should update the affected package to a version that includes the necessary security patches, specifically versions 12 and 13 of the Android platform's frameworks/av module released on or after October 1, 2022.

While no specific workarounds are mentioned, developers can consider implementing additional security measures, such as network segmentation and access controls, to mitigate the risk of remote exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/av.

How To Fix

Minimum fixed version

12:2022-10-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