CVE-2023-0396
NixOS vulnerability analysis and mitigation

Overview

A vulnerability identified as CVE-2023-0396 was discovered in the Zephyr Project's Bluetooth implementation. The vulnerability, disclosed on January 19, 2023, involves buffer overreads in functions that process HCI (Host Controller Interface) command responses when interacting with malicious or defective Bluetooth controllers (Zephyr Advisory).

Technical details

The vulnerability stems from insufficient buffer length verification in functions utilizing bt_hci_cmd_send_sync to receive HCI command responses. While checks are performed for the bt_hci_evt_cmd_complete header size, the implementation fails to verify if the response length is adequate before casting to the expected response struct. This affects multiple functions including common_init and le_init. The issue is particularly evident in functions like hci_le_read_max_data_len where no size check is performed before casting into bt_hci_rp_le_read_max_data_len (Zephyr Advisory).

Impact

The vulnerability can potentially lead to information leakage and denial of service conditions when exploited. The CVSS v3.1 base score is 6.4 (Moderate), with attack vector being Physical, low attack complexity, no privileges required, and no user interaction needed (Zephyr Advisory).

Exploitability

The vulnerability requires physical access to exploit, with low attack complexity and no special privileges or user interaction needed. The attack can be executed through a malicious or defective Bluetooth controller (Zephyr Advisory).

Mitigation and workarounds

Two potential fixes have been proposed: 1) Adding a mandatory min_size argument to bt_hci_cmd_send_sync similar to the handler->min_len check in handle_event_common, or 2) Verifying the buffer length on each call side of bt_hci_cmd_send_sync before casting (Zephyr Advisory).

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-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 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