Bluetooth A2DP Vendor Opus Decoder Out-of-Bounds Access

Summary

01/12/2023
Yes i
High
Not published

CVE-2023-40078: In a2dp_vendor_opus_decoder_decode_packet of a2dp_vendor_opus_decoder.cc, there is a possible out of bounds write due to a heap buffer overflow. Affects platform/packages/modules/Bluetooth across 2 version ranges.

>= 14:0, < 14:2023-12-01 >= 14-next:0, < 14-next:2023-12-01

Fixed in 14-next:2023-12-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Bluetooth package in the Android ecosystem provides functionality for wireless communication between devices. It includes modules for various Bluetooth profiles, including the Advanced Audio Distribution Profile (A2DP) used for streaming high-quality audio. The A2DP Vendor Opus Decoder is responsible for decoding Opus audio packets received over Bluetooth. This vulnerability affects the a2dp_vendor_opus_decoder_decode_packet function in the Bluetooth package.

Vulnerability Detail

The a2dp_vendor_opus_decoder_decode_packet function in the Bluetooth package suffers from a heap buffer overflow, leading to an out-of-bounds write. This vulnerability allows an attacker to escalate privileges on a paired device without requiring additional execution privileges. Exploitation does not require user interaction. The vulnerability was introduced in version 14.0 of the Bluetooth package and was fixed in version 14.2023-12-01.

How To Fix

Minimum fixed version

14-next:2023-12-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 →

Conclusion

The Bluetooth A2DP Vendor Opus Decoder vulnerability allows for an out-of-bounds write, potentially leading to privileged escalation on a paired device. It is crucial to update the Bluetooth package to the fixed version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/packages/modules/Bluetooth →

Share this vulnerability

FAQ

This vulnerability allows an attacker to escalate privileges on a paired device without requiring additional execution privileges. It can potentially lead to unauthorized access to sensitive information or control over the device.

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

Versions 14.0 through 14.2023-12-01 of the Bluetooth package are affected by this vulnerability.

No workaround has been provided for this vulnerability. It is recommended to update to the fixed version of the Bluetooth package.

More information about this vulnerability can be found in the Android Open Source Vulnerabilities database: https://storage.googleapis.com/android-osv/ASB-A-275626001.json

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/modules/Bluetooth.

How To Fix

Minimum fixed version

14-next:2023-12-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