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.
CVE-2018-14665
Score 6.6 from GitHub Security Advisory (severity: HIGH) published 2022-05-13. NVD baseline CVSS 6.6; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.6
- EG Score
- 6.6(medium)
- EPSS
- 97.8%
- KEV
- Not listed
Published
October 25, 2018
Last Modified
August 29, 2025
References (40)
- secalert@redhathttp://packetstormsecurity.com/files/154942/Xorg-X11-Server-SUID-modulepath-Privilege-Escalation.html
- secalert@redhathttp://packetstormsecurity.com/files/155276/Xorg-X11-Server-Local-Privilege-Escalation.html
- secalert@redhathttp://www.securityfocus.com/bid/105741
- secalert@redhathttp://www.securitytracker.com/id/1041948
- secalert@redhathttps://access.redhat.com/errata/RHSA-2018:3410
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14665
- secalert@redhathttps://gitlab.freedesktop.org/xorg/xserver/commit/50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e
- secalert@redhathttps://gitlab.freedesktop.org/xorg/xserver/commit/8a59e3b7dbb30532a7c3769c555e00d7c4301170
- secalert@redhathttps://lists.x.org/archives/xorg-announce/2018-October/002927.html
- secalert@redhathttps://security.gentoo.org/glsa/201810-09
- secalert@redhathttps://usn.ubuntu.com/3802-1/
- secalert@redhathttps://www.debian.org/security/2018/dsa-4328
- secalert@redhathttps://www.exploit-db.com/exploits/45697/
- secalert@redhathttps://www.exploit-db.com/exploits/45742/
- secalert@redhathttps://www.exploit-db.com/exploits/45832/
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | xserver-xorg-core (2:1.20.1-3ubuntu2.1) @ cosmic | 2026-05-28 | ubuntu |
| redhat | xorg-x11-server-0:1.20.1-5.1.el7 | 2018-10-30 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(2)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 11× in last 7d / 37× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 22:13 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 03:17 UTCOSV refresh
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-03 22:56 UTCOSV refresh
- 2026-07-02 16:54 UTCEPSS rescore
Show 56 moreShow fewer
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-15 10:43 UTCOSV refresh
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:19 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 01:41 UTCEG score recompute
- 2026-05-28 01:41 UTCVendor advisory
- 2026-05-28 01:41 UTCGHSA enrichment
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
Publicly available exploits
(10 references)Working exploit code is in the public domain (1 Metasploit module) (1 GitHub PoC) (8 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-47701✓ verifiedFirst seen Nov 20, 2019
Xorg X11 Server - Local Privilege Escalation (Metasploit)
Open source ↗ - Exploit-DBEDB-46142First seen Jan 14, 2019
xorg-x11-server < 1.20.3 (Solaris 11) - 'inittab Local Privilege Escalation
Open source ↗ - Exploit-DBEDB-45938First seen Dec 4, 2018
Xorg X11 Server (AIX) - Local Privilege Escalation
Open source ↗ - Exploit-DBEDB-45922First seen Nov 30, 2018
xorg-x11-server < 1.20.3 - 'modulepath' Local Privilege Escalation
Open source ↗ - Exploit-DBEDB-45908✓ verifiedFirst seen Nov 26, 2018
Xorg X11 Server - SUID privilege escalation (Metasploit)
Open source ↗ - Exploit-DBEDB-45832First seen Nov 13, 2018
xorg-x11-server < 1.20.1 - Local Privilege Escalation
Open source ↗ - Exploit-DBEDB-45742First seen Oct 30, 2018
xorg-x11-server 1.20.3 - Privilege Escalation
Open source ↗ - GitHub PoCjas502n/CVE-2018-14665First seen Oct 27, 2018
OpenBsd_CVE-2018-14665
Open source ↗ - Exploit-DBEDB-45697First seen Oct 25, 2018
xorg-x11-server < 1.20.3 - Local Privilege Escalation
Open source ↗ - Metasploitexploit/aix/local/xorg_x11_server✓ verifiedFirst seen Oct 25, 2018
Xorg X11 Server Local Privilege Escalation
Open source ↗
Frequently asked(5)
What is CVE-2018-14665?
When was CVE-2018-14665 disclosed?
Is CVE-2018-14665 actively exploited?
What is the CVSS score of CVE-2018-14665?
How do I remediate CVE-2018-14665?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2018-14665
Is Your Infrastructure Affected by CVE-2018-14665?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.