Summary
It was discovered that the OpenRazer kernel driver did not properly
validate the size of certain data returned by devices. An attacker with a
specially crafted USB device could possibly use this issue to obtain
sensitive information, such as kernel stack addresses. This issue only
affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-23467)
It was discovered that the OpenRazer keyboard, mouse, and accessory kernel
drivers did not properly validate the length of custom lighting frame data,
which could lead to a buffer overflow. A local attacker could possibly use
these issues to cause a denial of service or escalate privileges. These
issues only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2022-29021, CVE-2022-29022, CVE-2022-29023)
It was discovered that the OpenRazer kernel drivers did not properly
validate the size of custom lighting frame data, which could lead to an
out-of-bounds read of kernel memory that was then sent to the device. A
local attacker could possibly use this issue to cause a denial of service
or obtain sensitive information. (CVE-2025-32776)
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | openrazer | 2.5.0+dfsg-1ubuntu2+esm1 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | openrazer | 3.2.0+dfsg-3ubuntu0.1~esm1 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | openrazer | 3.7.0+dfsg-1ubuntu0.3+esm1 |
Vulnerabilities 5
-
Medium 5.5
OpenRazer Vulnerable to Out of Bounds Read
OpenRazer is an open source driver and user-space daemon to control Razer device lighting and other features on GNU/Linux. By writing specially crafted data to the `matrix_custom_frame` file, an attacker can cause the custom kernel driver to read more bytes t…
-
Medium 4.4
Out of Bounds Read in OpenRazer Driver
OpenRazer is an open source driver and user-space daemon to control Razer device lighting and other features on GNU/Linux. Using a modified USB device an attacker can leak stack addresses of the `razer_attr_read_dpi_stages`, potentially bypassing KASLR. To ex…
-
Unscored —
A buffer overflow vulnerability exists in the razerkbd driver of OpenRazer up to version v3.3.0 allows attackers to cau…
-
Unscored —
A buffer overflow vulnerability exists in the razeraccessory driver of OpenRazer up to version v3.3.0 allows attackers …
-
Unscored —
A buffer overflow vulnerability exists in the razermouse driver of OpenRazer up to version v3.3.0 allows attackers to c…