Critical Vulnerability in xorg-server: Potential Remote Code Execution Risk

xorg-server Updated 02 Oct 2025

Summary

24/01/2018
N/A
Yes i
Critical
9.8

ALPINE-CVE-2017-12180: xorg-x11-server before 1.19.5 was missing length validation in XFree86 VidModeExtension allowing malicious X client to cause X server to crash or possibly execute arbitrary code. Affects xorg-server versions < 1.19.5-r0. Fixed in 1.19.5-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-server is a crucial component of the X Window System, responsible for managing graphical displays on Unix-like operating systems. It provides the necessary infrastructure for graphical user interfaces and supports various input devices. The package is widely used in desktop environments and is essential for rendering graphical applications. However, it has been found to have a significant vulnerability that could allow attackers to exploit the system.

Vulnerability Detail

The vulnerability, identified as CVE-2017-12180, originates from a lack of length validation in the XFree86 VidModeExtension of xorg-x11-server versions prior to 1.19.5. This oversight allows a malicious X client to send specially crafted requests to the X server, potentially leading to a crash or arbitrary code execution. The severity of this vulnerability is underscored by its CVSS score of 9.8, indicating a critical risk level that could compromise system integrity and confidentiality.

How To Fix

Minimum fixed version

1.19.5-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 workaround, consider restricting access to the X server to trusted clients only. This can be achieved by configuring the X server to use access control mechanisms such as 'xhost' or by modifying the server's configuration files to limit connections.

Conclusion

The xorg-server package has a critical vulnerability (CVE-2017-12180) that poses significant risks, including potential remote code execution. It is crucial to update to the patched version 1.19.5-r0 to secure your system. Utilizing tools like Vulert can help monitor and identify vulnerabilities in your applications effectively.

See every vulnerability recorded for xorg-server →

Share this vulnerability

FAQ

CVE-2017-12180 is a critical vulnerability in the xorg-server package that allows remote code execution due to improper length validation.

You can use the Vulert platform to check if your application is affected by this vulnerability without needing to install any software.

Exploitation of this vulnerability could lead to system crashes or unauthorized execution of arbitrary code, compromising system security.

Yes, the patched version of xorg-server is 1.19.5-r0. Updating to this version will resolve the vulnerability.

Vulert monitors and alerts for open-source vulnerabilities in your software using just a manifest file. You can check for vulnerabilities in your application using their playground.

How To Fix

Minimum fixed version

1.19.5-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