
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-40078 is a critical vulnerability discovered in Android's Bluetooth implementation, specifically in the a2dp_vendor_opus_decoder_decode_packet function of a2dp_vendor_opus_decoder.cc. The vulnerability was disclosed in December 2023 and affects Android version 14.0. This heap buffer overflow vulnerability could potentially lead to escalation of privileges from a paired device without requiring additional execution privileges or user interaction (NVD).
The vulnerability exists in the a2dp_vendor_opus_decoder_decode_packet function where an out-of-bounds write can occur due to a heap buffer overflow. The issue arises when the opus_decode() function is called to decode frames. If initial decoding fails and the retry attempt also fails, the negative return value is incorrectly converted to unsigned when scaling the frame buffer, resulting in an enormous size that overflows the frame buffer (Android Patch). The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability can lead to paired device escalation of privilege, potentially allowing an attacker to gain elevated access to the system. The high CVSS score of 9.8 indicates that successful exploitation could result in complete compromise of system confidentiality, integrity, and availability (NVD).
A fix has been implemented in the Android security patch that adds additional checks after the retry attempt to prevent the buffer overflow condition. The patch was included in the December 2023 Android Security Bulletin (Android Bulletin). Users are advised to update their Android devices to the latest security patch level to protect against this vulnerability.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."