CVE-2022-29023
NixOS vulnerability analysis and mitigation

Overview

A buffer overflow vulnerability exists in the razermouse driver of OpenRazer up to version v3.3.0. The vulnerability allows attackers to cause a Denial of Service (DoS) and potentially escalate their privileges via a crafted buffer sent to the matrix_custom_frame device (NVD, CyberArk).

Technical details

The vulnerability exists in the matrix_custom_frame functionality that allows setting colors of keyboard rows. The issue occurs because there is no validation on the row_length parameter which is calculated based on user-controlled start_col and stop_col values. This allows an attacker to trigger a buffer overflow by providing values that make row_length exceed the 80-byte size limit of the arguments buffer in the razer_report structure (CyberArk). The vulnerability has a CVSS v3.1 score of 9.8 CRITICAL (NVD).

Impact

Successful exploitation of this vulnerability could allow an attacker to cause a Denial of Service condition by crashing the driver. On systems without FORTIFY_SOURCE protection enabled, the vulnerability could potentially be chained with an information leak to achieve kernel code execution and privilege escalation (CyberArk).

Exploitability

The vulnerability can be exploited by sending a specially crafted buffer to the matrix_custom_frame device attribute. The exploit requires setting start_col to 0x00 and stop_col to a value larger than 0x18 to make row_length exceed the buffer size. The presence of FORTIFY_SOURCE mitigation can limit the impact to just a DoS condition (CyberArk).

Mitigation and workarounds

The vulnerability was patched in OpenRazer version 3.3.0 by adding checks before memcpy to prevent buffer overflow. Users should upgrade to version 3.3.0 or later to mitigate this vulnerability (CyberArk).

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-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-bdb
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util-sqlite
NoYesAug 06, 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