CVE-2023-6478
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-6478 was discovered in xorg-server, affecting versions prior to 21.1.10 and xwayland prior to 23.2.3. The vulnerability was introduced in xorg-server-1.4.0 (2007) and xorg-server-1.13.0 (2012) respectively, and was discovered by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative (X.Org Announce).

Technical details

The vulnerability involves an integer overflow in RRChangeProviderProperty and RRChangeOutputProperty requests. Length calculation for the request was clipped to a 32-bit integer. With the correct stuff->nUnits value, the expected request size was truncated, passing the REQUEST_FIXED_SIZE check. The server then proceeded with reading at least stuff->nUnits bytes from the request and storing it in the property, while also allocating at least stuff->nUnits bytes (i.e., 4GB) (X.Org Announce).

Impact

When successfully exploited, this vulnerability could lead to disclosure of sensitive information through out-of-bounds memory read (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been patched in xorg-server version 21.1.10 and xwayland version 23.2.3. The fix involves correcting the integer overflow in the length calculation for RRChangeProviderProperty and RRChangeOutputProperty requests (X.Org Announce).

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-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 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