CVE-2022-0204
NixOS vulnerability analysis and mitigation

Overview

A heap overflow vulnerability (CVE-2022-0204) was discovered in BlueZ versions prior to 5.63. The vulnerability was found in the implementation of the GATT protocol, affecting the Bluetooth stack on Linux systems (NVD, CVE).

Technical details

The vulnerability is caused by an integer overflow in the GATT protocol implementation when appending prepare writes. The issue occurs in the prepare write functionality where insufficient length checks allow for a heap overflow condition. The vulnerability has a CVSS 3.1 base score of 8.8 (High), requiring adjacent network access with no authentication needed (Ubuntu, GitHub Advisory).

Impact

An attacker with local network access could exploit this vulnerability by passing specially crafted files, causing an application to halt or crash, leading to a denial of service. Some researchers have suggested that under specific conditions, this vulnerability could potentially lead to remote code execution in user mode when combined with other vulnerabilities (GitHub Advisory, Debian).

Mitigation and workarounds

The vulnerability has been fixed in BlueZ version 5.63 and later. The fix includes additional length checks when appending prepare writes to prevent the integer overflow condition. Users and administrators are advised to upgrade to the patched version. The fix was implemented through a commit that adds proper length validation checks (GitHub Commit, Gentoo).

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