Privilege Escalation in xorg-x11-server

xorg-server Updated 02 Oct 2025

Summary

25/10/2018
N/A
Yes i
Medium
6.6

CVE-2018-14665: A flaw was found in xorg-x11-server before 1.20.3. Affects xorg-server across 3 version ranges.

< 1.20.3-r0 < 8a59e3b7dbb30532a7c3769c555e00d7c4301170 < 50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e

Fixed in 1.20.3-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

xorg-x11-server is a package that provides the X Window System server, which allows users to run graphical applications on Unix-like operating systems. It is responsible for managing the display hardware and handling user input. This package is widely used in various Linux distributions. However, a vulnerability has been discovered in versions prior to 1.20.3 that allows unprivileged users with physical console access to escalate their privileges and execute arbitrary code with root privileges.

Vulnerability Detail

The vulnerability, identified as CVE-2018-14665, stems from an incorrect permission check for the -modulepath and -logfile options when starting Xorg. This flaw enables attackers with physical console access to the system to exploit the X server and gain root privileges. By leveraging this vulnerability, an attacker can execute arbitrary code with elevated privileges, potentially leading to a complete compromise of the affected system.

How To Fix

Minimum fixed version

1.20.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade xorg-server

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If updating the xorg-x11-server package is not immediately feasible, users can implement the following workaround to mitigate the risk: Restrict physical console access to trusted users only. By limiting access to the system's physical console, the potential for exploitation of this vulnerability is significantly reduced.

Conclusion

The privilege escalation vulnerability in xorg-x11-server poses a significant risk to systems with unprivileged users having physical console access. It is crucial to update the xorg-x11-server package to version 1.20.3 or later to address this vulnerability. Restricting physical console access to trusted users can also help mitigate the risk. For additional assistance and guidance, please reach out to DevNack.com.

See every vulnerability recorded for xorg-server →

Share this vulnerability

FAQ

xorg-x11-server is a package that provides the X Window System server, allowing users to run graphical applications on Unix-like operating systems.

This vulnerability allows unprivileged users with physical console access to escalate their privileges and execute arbitrary code with root privileges, potentially leading to a complete compromise of the affected system.

To fix this vulnerability, update the xorg-x11-server package to version 1.20.3 or later.

Yes, restricting physical console access to trusted users only can mitigate the risk associated with this vulnerability.

For further support on vulnerability remediation, please contact info@devnack.com.

How To Fix

Minimum fixed version

1.20.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade xorg-server

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback