Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-14665
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:32 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-14665
Complete source record
{
"id": "72dac7756ee3c60ca153723d1dcf207454b00ffa5398f8e0a0c0e8f1d2936663",
"url": "https://osv.dev/vulnerability/CVE-2018-14665",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-14665",
"summary": "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.",
"evidence": "osv:CVE-2018-14665",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-14665",
"aliases": [
"CVE-2018-14665"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.freedesktop.org/xorg/xserver",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "971d418113740cae2d7d393850bad4926d1a7e86"
},
{
"introduced": "0d7ec5c7d9b451066a079fe56bcc9722341a91ff"
},
{
"last_affected": "0d7ec5c7d9b451066a079fe56bcc9722341a91ff"
},
{
"fixed": "50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e"
},
{
"fixed": "8a59e3b7dbb30532a7c3769c555e00d7c4301170"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.20.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "8a59e3b7dbb30532a7c3769c555e00d7c4301170"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"7.0",
"XORG-7_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14665.json",
"vanir_signatures": [
{
"id": "CVE-2018-14665-22639977",
"digest": {
"length": 6630,
"function_hash": "315373064620892594551951638009703833680"
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@8a59e3b7dbb30532a7c3769c555e00d7c4301170",
"target": {
"file": "hw/xfree86/common/xf86Init.c",
"function": "ddxProcessArgument"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-14665-6550486b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65873069307278292652010531175368615420",
"284923232927484381038688238309080919142",
"27624637168183375727967830732217204166",
"235860324613668966512981938403285548298",
"183732425723223922100410593710392118164",
"114508074504614284615304547286231225643",
"315439724826352396352105082473061468447",
"212627248673392263212831660654490005750",
"95330500942765008061279670440426547946",
"56839145749456828219969817469731032700",
"213388443174132321590396988505480979115"
]
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e",
"target": {
"file": "hw/xfree86/common/xf86Init.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-14665-78795323",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65873069307278292652010531175368615420",
"284923232927484381038688238309080919142",
"27624637168183375727967830732217204166",
"235860324613668966512981938403285548298",
"183732425723223922100410593710392118164",
"114508074504614284615304547286231225643",
"315439724826352396352105082473061468447",
"212627248673392263212831660654490005750",
"95330500942765008061279670440426547946",
"56839145749456828219969817469731032700",
"213388443174132321590396988505480979115"
]
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@8a59e3b7dbb30532a7c3769c555e00d7c4301170",
"target": {
"file": "hw/xfree86/common/xf86Init.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-14665-9355e2b1",
"digest": {
"length": 6537,
"function_hash": "183506005408712373153446637987835782518"
},
"source": "https://gitlab.freedesktop.org/xorg/xserver@50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e",
"target": {
"file": "hw/xfree86/common/xf86Init.c",
"function": "ddxProcessArgument"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:46:35Z"
}
}
],
"modified": "2026-10-20T13:46:35.030707289Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2018:3410",
"https://security.gentoo.org/glsa/201810-09",
"https://usn.ubuntu.com/3802-1/",
"https://www.debian.org/security/2018/dsa-4328",
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14665",
"https://gitlab.freedesktop.org/xorg/xserver/commit/50c0cf885a6e91c0ea71fb49fa8f1b7c86fe330e",
"https://gitlab.freedesktop.org/xorg/xserver/commit/8a59e3b7dbb30532a7c3769c555e00d7c4301170",
"https://lists.x.org/archives/xorg-announce/2018-October/002927.html",
"https://www.exploit-db.com/exploits/45697/",
"https://www.exploit-db.com/exploits/45742/",
"https://www.exploit-db.com/exploits/45832/",
"https://www.exploit-db.com/exploits/45908/",
"https://www.exploit-db.com/exploits/45922/",
"https://www.exploit-db.com/exploits/45938/",
"https://www.exploit-db.com/exploits/46142/",
"https://www.securepatterns.com/2018/10/cve-2018-14665-xorg-x-server.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "18.10"
},
{
"last_affected": "18.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_server_aus",
"extracted_events": [
{
"range": [
{
"introduced": "7.6"
},
{
"last_affected": "7.6"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_server_eus",
"extracted_events": [
{
"range": [
{
"introduced": "7.6"
},
{
"last_affected": "7.6"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_server_tus",
"extracted_events": [
{
"range": [
{
"introduced": "7.6"
},
{
"last_affected": "7.6"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-14665",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388223,
"published_at": "2018-10-25T20:29:00.25+00:00"
}