CVE-2023-40091
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-40091 is a vulnerability discovered in Android's IncidentService.cpp component. The vulnerability involves a possible out-of-bounds write due to memory corruption in the onTransact function. This security issue affects Android versions 11.0 through 14.0 and was disclosed in December 2023 (Android Bulletin).

Technical details

The vulnerability exists in the onTransact function of IncidentService.cpp and is characterized as an out-of-bounds write vulnerability caused by memory corruption. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH), with the following vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. This indicates that the vulnerability requires local access, low attack complexity, low privileges, and no user interaction to exploit (NVD).

Impact

If successfully exploited, this vulnerability could lead to local escalation of privilege with no additional execution privileges needed. The high CVSS score indicates that the vulnerability can potentially impact the confidentiality, integrity, and availability of the system (NVD).

Exploitability

The vulnerability requires local access to exploit, but does not require user interaction for exploitation. No additional execution privileges are needed to carry out the attack, making it relatively straightforward to exploit for an attacker with local access to the device (NVD).

Mitigation and workarounds

A patch has been released to address this vulnerability in the December 2023 Android Security Bulletin. The fix involves modifications to the IncidentService.cpp file, specifically addressing the file descriptor handling by implementing readUniqueFileDescriptor instead of readFileDescriptor (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-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-branding-upstream
NoYesAug 18, 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