CVE-2023-40096
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-40096 is a vulnerability discovered in Android's audio recording functionality, specifically in the OpRecordAudioMonitor::onFirstRef function of AudioRecordClient.cpp. The vulnerability was disclosed in December 2023 and affects Android versions 11.0 through 14.0. The issue stems from a missing flag that could allow unauthorized audio recording from the background (NVD).

Technical details

The vulnerability exists in the audio recording system's permission handling mechanism, specifically within the OpRecordAudioMonitor::onFirstRef function of AudioRecordClient.cpp. The issue involves incorrect handling of background recording permissions due to a missing flag. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH), with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

If exploited, this vulnerability could lead to local escalation of privilege, allowing unauthorized audio recording from background processes. The impact is significant as it could potentially allow malicious applications to record audio without proper authorization, compromising user privacy (NVD).

Mitigation and workarounds

Google has released patches to address this vulnerability. The fix includes modifications to the checks around when an app should have its recording silenced, implementing proper behavior for apps with targetSdk U or greater. Multiple patches have been applied across different Android framework components to correct the attribution source for MMAP thread and improve permission handling (Android Patch, Android Patch).

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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 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