CVE-2024-6258
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-6258 is a security vulnerability discovered in the Zephyr Project's Bluetooth implementation, specifically related to missing length checks of net_buf in rfcomm_handle_data function. The vulnerability was disclosed on September 13, 2024, affecting Zephyr versions up to and including 3.6.0. The issue resides in the subsys/bluetooth/host/rfcomm.c component, where insufficient buffer length verification could lead to undefined behavior (Zephyr Advisory).

Technical details

The vulnerability stems from inadequate length verification in the rfcomm_handle_data function, which is called from rfcomm_recv. While there is an initial check to ensure buf->len is larger than sizeof(*hdr) + 1, subsequent operations lack proper buffer size validation. This oversight can lead to a crash when executing net_buf_pull_u8(buf) if the buffer is exactly sizeof(*hdr) + 1 in size. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with vector string CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

Exploitation of this vulnerability could result in system instability or denial of service attacks. When successfully exploited, the system may crash due to undefined behavior in buffer operations (Zephyr Advisory).

Mitigation and workarounds

A fix has been proposed in pull request #74640 for the main branch. However, no official patched versions are currently available. Users of affected versions should monitor for updates and implement network access controls where possible (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-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