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-12182: xorg-x11-server before 1.19.5 was missing length validation in XFree86 DRI extension 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 Your last release was probably never penetration tested 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, providing the graphical interface for Unix-like operating systems. It facilitates the interaction between the operating system and the graphical hardware, enabling users to run graphical applications. The xorg-server package is widely used in various Linux distributions, including Alpine Linux. However, prior to version 1.19.5, it was found to have a significant vulnerability that could allow malicious actors to exploit the system.

Vulnerability Detail

The vulnerability, identified as CVE-2017-12182, stems from a lack of length validation in the XFree86 DRI extension of xorg-server versions before 1.19.5. This oversight allows a malicious X client to send crafted requests that could lead to the X server crashing or, in a worst-case scenario, executing arbitrary code on the host system. The severity of this vulnerability is underscored by its CVSS score of 9.8, indicating a critical risk to affected systems.

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 measure, users can restrict access to the X server by limiting the clients that can connect to it. This can be done by configuring the xorg-server settings to only allow trusted clients or by using firewall rules to block unauthorized access.

Conclusion

In summary, the xorg-server package has a critical vulnerability (CVE-2017-12182) that poses significant risks to systems running affected versions. It is crucial to update to version 1.19.5-r0 or later to mitigate these risks. Users are encouraged to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their software.

See every vulnerability recorded for xorg-server →

Share this vulnerability

FAQ

CVE-2017-12182 is a critical vulnerability in the xorg-server package that allows for potential remote code execution due to insufficient length validation in the XFree86 DRI extension.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your manifest file. Visit Vulert Scanner to check your application without any signup.

Failure to address this vulnerability could lead to system crashes or unauthorized code execution, potentially compromising the integrity and security of your system.

Yes, you can mitigate the risk by restricting access to the X server and ensuring that only trusted clients can connect to it.

The CVSS score of CVE-2017-12182 is 9.8, indicating a critical level of risk associated with this vulnerability.

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