{"api_version":"1","generated_at":"2026-04-23T05:57:45+00:00","cve":"CVE-2018-15857","urls":{"html":"https://cve.report/CVE-2018-15857","api":"https://cve.report/api/cve/CVE-2018-15857.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-15857","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-15857"},"summary":{"title":"CVE-2018-15857","description":"An invalid free in ExprAppendMultiKeysymList in xkbcomp/ast-build.c in xkbcommon before 0.8.1 could be used by local attackers to crash xkbcommon keymap parsers or possibly have unspecified other impact by supplying a crafted keymap file.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-08-25 21:29:00","updated_at":"2019-08-06 17:15:00"},"problem_types":["CWE-416"],"metrics":[],"references":[{"url":"https://usn.ubuntu.com/3786-2/","name":"USN-3786-2","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-3786-2: libxkbcommon vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3786-1/","name":"USN-3786-1","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-3786-1: libxkbcommon vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201810-05","name":"GLSA-201810-05","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"xkbcommon: Multiple vulnerabilities (GLSA 201810-05) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html","name":"https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html","refsource":"MISC","tags":["Mailing List","Patch","Third Party Advisory"],"title":"[ANNOUNCE] libxkbcommon 0.8.1","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/xkbcommon/libxkbcommon/commit/c1e5ac16e77a21f87bdf3bc4dea61b037a17dddb","name":"https://github.com/xkbcommon/libxkbcommon/commit/c1e5ac16e77a21f87bdf3bc4dea61b037a17dddb","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"xkbcomp: fix pointer value for FreeStmt · xkbcommon/libxkbcommon@c1e5ac1 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:2079","name":"RHSA-2019:2079","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-15857","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-15857","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xkbcommon","cpe5":"libxkbcommon","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xkbcommon","cpe5":"libxkbcommon","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xkbcommon","cpe5":"xkbcommon","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"15857","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xkbcommon","cpe5":"xkbcommon","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-15857","qid":"377269","title":"Alibaba Cloud Linux Security Update for xorg (ALINUX2-SA-2019:0076)"},{"cve":"CVE-2018-15857","qid":"710237","title":"Gentoo Linux xkbcommon Multiple Vulnerabilities (GLSA 201810-05)"},{"cve":"CVE-2018-15857","qid":"755582","title":"SUSE Enterprise Linux Security Update for libxkbcommon (SUSE-SU-2024:0037-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-15857","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An invalid free in ExprAppendMultiKeysymList in xkbcomp/ast-build.c in xkbcommon before 0.8.1 could be used by local attackers to crash xkbcommon keymap parsers or possibly have unspecified other impact by supplying a crafted keymap file."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"GLSA-201810-05","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201810-05"},{"name":"USN-3786-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3786-1/"},{"name":"https://github.com/xkbcommon/libxkbcommon/commit/c1e5ac16e77a21f87bdf3bc4dea61b037a17dddb","refsource":"MISC","url":"https://github.com/xkbcommon/libxkbcommon/commit/c1e5ac16e77a21f87bdf3bc4dea61b037a17dddb"},{"name":"USN-3786-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3786-2/"},{"name":"https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html","refsource":"MISC","url":"https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html"},{"refsource":"REDHAT","name":"RHSA-2019:2079","url":"https://access.redhat.com/errata/RHSA-2019:2079"}]}},"nvd":{"publishedDate":"2018-08-25 21:29:00","lastModifiedDate":"2019-08-06 17:15:00","problem_types":["CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xkbcommon:xkbcommon:*:*:*:*:*:*:*:*","versionEndExcluding":"0.8.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:xkbcommon:libxkbcommon:*:*:*:*:*:*:*:*","versionEndExcluding":"0.8.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"15857","Ordinal":"132640","Title":"CVE-2018-15857","CVE":"CVE-2018-15857","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"15857","Ordinal":"1","NoteData":"An invalid free in ExprAppendMultiKeysymList in xkbcomp/ast-build.c in xkbcommon before 0.8.1 could be used by local attackers to crash xkbcommon keymap parsers or possibly have unspecified other impact by supplying a crafted keymap file.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"15857","Ordinal":"2","NoteData":"2018-08-25","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"15857","Ordinal":"3","NoteData":"2019-08-06","Type":"Other","Title":"Modified"}]}}}