CVE-2018-15855

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-15855
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-15855.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-15855
Downstream
Related
Published
2018-08-25T21:29:01Z
Modified
2025-10-15T09:22:06.677970Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/xkbcommon/libxkbcommon

Affected ranges

Type
GIT
Repo
https://github.com/xkbcommon/libxkbcommon
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

xkbcommon-0.*

xkbcommon-0.2.0
xkbcommon-0.3.0
xkbcommon-0.3.1
xkbcommon-0.3.2
xkbcommon-0.4.0
xkbcommon-0.4.1
xkbcommon-0.4.2
xkbcommon-0.4.3
xkbcommon-0.5.0
xkbcommon-0.6.0
xkbcommon-0.6.1
xkbcommon-0.7.0
xkbcommon-0.7.1
xkbcommon-0.7.2
xkbcommon-0.8.0

Database specific

vanir_signatures

[
    {
        "deprecated": false,
        "id": "CVE-2018-15855-2c02092e",
        "signature_type": "Function",
        "source": "https://github.com/xkbcommon/libxkbcommon/commit/917636b1d0d70205a13f89062b95e3a0fc31d4ff",
        "digest": {
            "length": 1332.0,
            "function_hash": "313427961432042723751513025005151541073"
        },
        "target": {
            "file": "src/xkbcomp/keymap.c",
            "function": "CompileKeymap"
        },
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "id": "CVE-2018-15855-97bd6938",
        "signature_type": "Line",
        "source": "https://github.com/xkbcommon/libxkbcommon/commit/917636b1d0d70205a13f89062b95e3a0fc31d4ff",
        "digest": {
            "line_hashes": [
                "88409033307862462165229164438251216293",
                "122701994007965251946819529201359975982",
                "332971833168997577573162901784827898012",
                "252483941540618463363549744586113690502",
                "201764178136538960686405894051010879341"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/xkbcomp/keymap.c"
        },
        "signature_version": "v1"
    }
]