CVE-2022-29022
NixOS vulnerability analysis and mitigation

Overview

A buffer overflow vulnerability exists in the razeraccessory driver of OpenRazer up to version v3.3.0 that allows attackers to cause a Denial of Service (DoS) and possibly escalate their privileges via a crafted buffer sent to the matrixcustomframe device. The vulnerability was discovered in April 2022 and patched in OpenRazer version 3.3.0 (CyberArk Research, GitHub PR).

Technical details

The vulnerability exists in the matrixcustomframe functionality which allows setting colors of device rows. The bug occurs because there is no validation on the rowlength parameter calculated from user-controlled startcol and stopcol values. This allows an attacker to trigger a buffer overflow by providing values that make rowlength exceed the 80-byte size limit of the arguments buffer in the razer_report structure. The vulnerability received a CVSS v3.1 Base Score of 9.8 CRITICAL (NVD).

Impact

The vulnerability could allow attackers to cause a Denial of Service by crashing the driver. On systems without FORTIFY_SOURCE protection enabled, the buffer overflow could potentially be leveraged for privilege escalation by chaining with an information leak vulnerability to bypass KASLR and stack canary mitigations (CyberArk Research).

Mitigation and workarounds

The vulnerability was patched in OpenRazer version 3.3.0 by adding validation checks before the memcpy operation to prevent buffer overflow. Users should upgrade to version 3.3.0 or later. Additionally, having FORTIFY_SOURCE enabled during driver compilation provides protection against exploitation beyond DoS (GitHub PR, CyberArk Research).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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