CVE-2023-6377
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-6377 is a vulnerability discovered in xorg-server affecting versions prior to 21.1.10 and xwayland prior to 23.2.3. The vulnerability was discovered by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative and was publicly disclosed on December 13, 2023 (Xorg Announce).

Technical details

The vulnerability occurs when a logical device switch happens (e.g., moving from a touchpad to a mouse). During this switch, the server re-calculates information for the master device but only allocates memory for a single XKB action instead of enough for the newly active physical device's number of buttons. This results in out-of-bounds memory reads and writes when querying or changing XKB button actions (Xorg Announce). The vulnerability has been assigned a CVSS score of 7.8 (HIGH) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Impact

Successful exploitation of this vulnerability may allow local privilege escalation if the server is running as root, or possible remote code execution in cases where X11 forwarding is involved. The vulnerability can lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS) (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been patched in xorg-server version 21.1.10 and xwayland version 23.2.3. The fix involves properly allocating memory for the correct number of button actions (Xorg Announce). Users should upgrade to these or later versions. As a workaround, users can ensure no untrusted clients can access the running X implementation (Gentoo Security).

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-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 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