CVE-2022-1041
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-1041 is a vulnerability discovered in the Zephyr bluetooth mesh core stack that can be triggered during provisioning. The vulnerability was disclosed on July 25, 2022, affecting Zephyr versions up to and including 3.0.0. This out-of-bounds write vulnerability exists due to insufficient validation of SegN and TotalLength parameters in Transaction Start PDU (Zephyr Advisory).

Technical details

The vulnerability stems from a missing check for mismatched SegN and TotalLength in Transaction Start PDU within the genprovstart function. For instance, a TotalLength of 65 with SegN 62 is incorrectly accepted as valid, when SegN should only be 2 for this TotalLength. This allows attackers to bypass the SegO and SegN validation in Transaction Continue PDU by sending malformed Transaction Start PDU. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (High) with vector string CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating adjacent network attack vector with no privileges or user interaction required (NVD).

Impact

When exploited, this vulnerability can lead to out-of-bounds write operations when a Transaction Continue PDU with an oversized SegO (larger than 2) is processed. This can result in high impact on confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability has been fixed through multiple patches: main branch via PR #45136, v3.0 via PR #45188, and v2.7 via PR #45187 (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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48639HIGH7.3
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025

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