CVE-2023-40088
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-40088 is a critical vulnerability discovered in Android's Bluetooth component, specifically in the callback_thread_event function of com_android_bluetooth_btservice_AdapterService.cpp. The vulnerability was disclosed in December 2023 and affects Android versions 11 through 14. This memory corruption vulnerability, caused by a use-after-free condition, poses a significant security risk as it allows for remote code execution without requiring additional execution privileges or user interaction (NVD, Malwarebytes).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 8.8 HIGH (Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The issue stems from a use-after-free condition where the component fails to properly handle its JNI environment variable after detaching the thread, which frees the environment context. This mishandling can lead to memory corruption under certain conditions (Android Source, Bleeping Computer).

Impact

The vulnerability enables remote code execution within Bluetooth range (approximately 30 feet/10 meters) without requiring user interaction or additional privileges. This proximity-based attack vector could allow attackers to take control of affected Android devices when within Bluetooth range (Malwarebytes, Bleeping Computer).

Mitigation and workarounds

Google has addressed this vulnerability in the December 2023 Android security updates. Users are strongly advised to update their devices to security patch levels of 2023-12-05 or later. The fix has been made available for Android versions 11, 12, 12L, 13, and 14 (Malwarebytes).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management