Privilege Escalation Vulnerability in xorg-server: CVE-2018-14665

xorg-server Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2018-14665: A flaw was found in xorg-x11-server before 1.20.3. Affects xorg-server versions < 1.20.3-r0. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

xorg-server is a core component of the X Window System, responsible for managing graphical displays on Unix-like operating systems. It provides essential services for rendering graphics and handling input devices. The package is widely used in various Linux distributions, including Alpine Linux. However, it has been found to contain a critical vulnerability that allows unprivileged users to escalate their privileges, potentially compromising system security.

Vulnerability Detail

A flaw was discovered in xorg-server versions prior to 1.20.3, where an incorrect permission check for the -modulepath and -logfile options during the startup of the X server could allow unprivileged users to execute arbitrary code with root privileges. This vulnerability poses a significant risk as it enables attackers with physical access to the console to gain elevated permissions, leading to potential system compromise.

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

As a temporary measure, users can restrict physical access to the console to prevent unprivileged users from exploiting this vulnerability until the package is updated.

Conclusion

The xorg-server package has a critical vulnerability (CVE-2018-14665) that allows privilege escalation for unprivileged users. It is crucial to update the package to the latest patched version to safeguard your system. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in your software.

See every vulnerability recorded for xorg-server →

Share this vulnerability

FAQ

CVE-2018-14665 is a vulnerability in the xorg-server package that allows unprivileged users to escalate their privileges and execute arbitrary code with root permissions.

You can use the Vulert platform to check if your application is affected by this vulnerability. Simply upload your manifest file like package-lock.json to monitor for vulnerabilities.

The CVSS score for CVE-2018-14665 is 6.6, indicating a medium severity level.

If immediate updates are not feasible, restrict physical access to the console as a temporary workaround to mitigate the risk of exploitation.

Vulert is a service that monitors and alerts for open-source vulnerabilities in software using a manifest file. You can check your application for vulnerabilities without needing to install any software.

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