Medium
Security advisory
Unchecked NULL pointer usage in xkbcommon before 0.8.1 could be used by local attackers to crash (NULL pointer dereference) the xkbcommon parser by supplying a crafted keymap file, because the XkbFile for an xkb_geometry section was mishandled.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-15855
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:25 UTC · Revision 1
Source evidence
Unchecked NULL pointer usage in xkbcommon before 0.8.1 could be used by local attackers to crash (NULL pointer dereference) the xkbcommon parser by supplying a crafted keymap file, because the XkbFile for an xkb_geometry section was mishandled.
osv:CVE-2018-15855
Complete source record
{
"id": "b6dba289d55174b99fa97e03282847f6f0b86f3ec4180c0c4aecbde6cd3202cd",
"url": "https://osv.dev/vulnerability/CVE-2018-15855",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-15855",
"summary": "Unchecked NULL pointer usage in xkbcommon before 0.8.1 could be used by local attackers to crash (NULL pointer dereference) the xkbcommon parser by supplying a crafted keymap file, because the XkbFile for an xkb_geometry section was mishandled.",
"evidence": "osv:CVE-2018-15855",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-15855",
"aliases": [
"CVE-2018-15855"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/xkbcommon/libxkbcommon",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "87046f56efc89d3b0771df9b4fefcda39ade3dd1"
},
{
"fixed": "917636b1d0d70205a13f89062b95e3a0fc31d4ff"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:xkbcommon_project:xkbcommon:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "917636b1d0d70205a13f89062b95e3a0fc31d4ff"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"xkbcommon-0.8.0",
"xkbcommon-0.7.2",
"xkbcommon-0.7.1",
"xkbcommon-0.7.0",
"xkbcommon-0.6.1",
"xkbcommon-0.6.0",
"xkbcommon-0.5.0",
"xkbcommon-0.4.3",
"xkbcommon-0.4.2",
"xkbcommon-0.4.1",
"xkbcommon-0.4.0",
"xkbcommon-0.3.2",
"xkbcommon-0.3.1",
"xkbcommon-0.3.0",
"xkbcommon-0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15855.json",
"vanir_signatures": [
{
"id": "CVE-2018-15855-2c02092e",
"digest": {
"length": 1332,
"function_hash": "313427961432042723751513025005151541073"
},
"source": "https://github.com/xkbcommon/libxkbcommon/commit/917636b1d0d70205a13f89062b95e3a0fc31d4ff",
"target": {
"file": "src/xkbcomp/keymap.c",
"function": "CompileKeymap"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-15855-97bd6938",
"digest": {
"threshold": 0.9,
"line_hashes": [
"88409033307862462165229164438251216293",
"122701994007965251946819529201359975982",
"332971833168997577573162901784827898012",
"252483941540618463363549744586113690502",
"201764178136538960686405894051010879341"
]
},
"source": "https://github.com/xkbcommon/libxkbcommon/commit/917636b1d0d70205a13f89062b95e3a0fc31d4ff",
"target": {
"file": "src/xkbcomp/keymap.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:29:27Z"
}
}
],
"modified": "2026-10-20T13:29:27.996658692Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2019:2079",
"https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html",
"https://security.gentoo.org/glsa/201810-05",
"https://usn.ubuntu.com/3786-1/",
"https://usn.ubuntu.com/3786-2/",
"https://github.com/xkbcommon/libxkbcommon/commit/917636b1d0d70205a13f89062b95e3a0fc31d4ff"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-15855",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387739,
"published_at": "2018-08-25T21:29:01.733+00:00"
}