CVE-2018-14665
A public proof of concept exists; no exploitation attested.
- Published2018-10-25
- WeaknessCWE-863
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
A flaw was found in xorg-x11-server before 1.20.3. An incorrect permission check for -modulepath and -logfile options when starting Xorg. X server allows unprivileged users with the ability to log in to the system via physical console to escalate their privileges and run arbitrary code under root privileges.
Timeline
dates in UTC- 2018-10-25Exploit-DB entryExploit-DB
- 2018-10-2520:29CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| 18.10 | = 18.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0 | no fix published | NVD |
6 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- x11-serverMageia:6all versions · fixed in 1.19.5-1.2.mga6
- xorg-serverUbuntu:18.04:LTSall versions · fixed in 2:1.19.6-1ubuntu4.2
- xorg-serverDebian:14all versions · fixed in 2:1.20.3-1
- xorg-serverDebian:13all versions · fixed in 2:1.20.3-1
- xorg-serverDebian:12all versions · fixed in 2:1.20.3-1
- xorg-serverDebian:9all versions · fixed in 2:1.19.2-1+deb9u4
- xorg-serverCleanStartall versions · fixed in 1.20.3-r0
- xorg-serverAlpine:v3.25all versions · fixed in 1.20.3-r0
34 more package ranges on OSV.dev
Vendor advisories
xorg-x11-server: Incorrect permission check in Xorg X server allows for privilege escalation
Red Hat Security Advisory: xorg-x11-server security update
Fix
- Vendor fix Red Hat Product Security RHSA-2018:3410 · 115 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- bugzilla.redhat.comPatch
- gitlab.freedesktop.orgPatch
- gitlab.freedesktop.orgPatch
- lists.x.orgMitigation · Patch · Vendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01jas502n/CVE-2018-14665bolonobolo/CVE-2018-14665
- Metasploit modules
- 3 modulesexploit/aix/local/xorg_x11_serverrank: greatexploit/multi/local/xorg_x11_suid_serverrank: goodexploit/multi/local/xorg_x11_suid_server_modulepathrank: goodModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- NVDCVSS 3.06.6read 2026-10-23
- NVDCVSS 2.07.2read 2026-10-23
- NVDweakness (CWE)CWE-863read 2026-10-23
- FIRST EPSSEPSS score27.2 %read 2026-12-04
- PoC-in-GitHubproof of concept2known since 2026-11-01
- Exploit-DBdetectionread 2026-12-04
- Metasploit FrameworkMetasploit modules3known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2018-6560same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-c34f-6cmx-fcvvsame flawGitHub Advisory Database · CC-BY-4.0
- exploit/aix/local/xorg_x11_serverexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- exploit/multi/local/xorg_x11_suid_serverexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- exploit/multi/local/xorg_x11_suid_server_modulepathexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- EDB-45697exploit referenceExploit-DB · BSD-3-Clause
- EDB-45742exploit referenceExploit-DB · BSD-3-Clause
- EDB-45832exploit referenceExploit-DB · BSD-3-Clause
- EDB-45938exploit referenceExploit-DB · BSD-3-Clause
- DSA-4328-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2018-0421advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2024:11525-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2018:3410advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2018:3456-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:3680-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3802-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-10-25
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-c34f-6cmx-fcvv
Frequently asked questions
What is CVE-2018-14665?
Is CVE-2018-14665 actively exploited?
What is the CVSS score for CVE-2018-14665?
Running xorg-x11-server? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-c34f-6cmx-fcvv
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0