CVE-2018-15854

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-15854
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-15854.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-15854
Downstream
Related
Published
2018-08-25T21:29:01Z
Modified
2025-09-19T09:25:46.296020Z
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 geometry tokens were desupported incorrectly.

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": [
        {
            "id": "CVE-2018-15854-34fc12bc",
            "digest": {
                "line_hashes": [
                    "246668354826189783287622017382880698255",
                    "50264401089463712014793335532613509016",
                    "193572055833301283186130770852473589071",
                    "75768718557879718433513182767538078376",
                    "94688013004790728306344486117748107449",
                    "130058130792014441517702719593814964832",
                    "109258994702549565769254788619110575733"
                ],
                "threshold": 0.9
            },
            "signature_type": "Line",
            "deprecated": false,
            "target": {
                "file": "src/xkbcomp/ast.h"
            },
            "signature_version": "v1",
            "source": "https://github.com/xkbcommon/libxkbcommon/commit/e3cacae7b1bfda0d839c280494f23284a1187adf"
        },
        {
            "id": "CVE-2018-15854-7c50bc5a",
            "digest": {
                "line_hashes": [
                    "337610187088446293266228536635368987338",
                    "263711999615519336787718363883417692405",
                    "39229216897454649471404094564958117855"
                ],
                "threshold": 0.9
            },
            "signature_type": "Line",
            "deprecated": false,
            "target": {
                "file": "src/xkbcomp/ast-build.h"
            },
            "signature_version": "v1",
            "source": "https://github.com/xkbcommon/libxkbcommon/commit/e3cacae7b1bfda0d839c280494f23284a1187adf"
        },
        {
            "id": "CVE-2018-15854-7e1227cd",
            "digest": {
                "line_hashes": [
                    "266697308492379725541600439398106331312",
                    "89135738776443511015244029387203105237",
                    "32002661022502531897837161557645378982",
                    "245169884622541596279721827977644780293",
                    "116715768090766867253820390827495717241",
                    "337746730670757975616325882490903404079",
                    "119053655197065402274231304054740175390"
                ],
                "threshold": 0.9
            },
            "signature_type": "Line",
            "deprecated": false,
            "target": {
                "file": "src/xkbcomp/ast-build.c"
            },
            "signature_version": "v1",
            "source": "https://github.com/xkbcommon/libxkbcommon/commit/e3cacae7b1bfda0d839c280494f23284a1187adf"
        }
    ]
}