CVE-2018-15863

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-15863
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15863.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-15863
Downstream
Related
Published
2018-08-25T21:29:02Z
Modified
2025-10-21T04:25:16.503275Z
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 ResolveStateAndPredicate in xkbcomp/compat.c in xkbcommon before 0.8.2 could be used by local attackers to crash (NULL pointer dereference) the xkbcommon parser by supplying a crafted keymap file with a no-op modmask expression.

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
xkbcommon-0.8.1

Database specific

vanir_signatures

[
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "32549268266526631486732683895738359845",
                "47001611622517045939498023296967119287",
                "174557150422936232980393104794454199455",
                "98943088990830972421453961971923884411"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/xkbcomp/compat.c"
        },
        "source": "https://github.com/xkbcommon/libxkbcommon/commit/96df3106d49438e442510c59acad306e94f3db4d",
        "signature_type": "Line",
        "id": "CVE-2018-15863-428c78fe"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "function_hash": "201718672927802237784468763089454655298",
            "length": 850.0
        },
        "target": {
            "function": "ResolveStateAndPredicate",
            "file": "src/xkbcomp/compat.c"
        },
        "source": "https://github.com/xkbcommon/libxkbcommon/commit/96df3106d49438e442510c59acad306e94f3db4d",
        "signature_type": "Function",
        "id": "CVE-2018-15863-80c64928"
    }
]