CVE-2018-15853

Source
https://cve.org/CVERecord?id=CVE-2018-15853
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-15853.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-15853
Downstream
Related
Published
2018-08-25T21:29:01.483Z
Modified
2026-01-30T10:31:53.995370Z
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

Endless recursion exists in xkbcomp/expr.c in xkbcommon and libxkbcommon before 0.8.1, which could be used by local attackers to crash xkbcommon users by supplying a crafted keymap file that triggers boolean negation.

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

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-15853.json"
vanir_signatures
[
    {
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/xkbcommon/libxkbcommon/commit/1f9d1248c07cda8aaff762429c0dce146de8632a",
        "target": {
            "file": "src/xkbcomp/expr.c"
        },
        "deprecated": false,
        "id": "CVE-2018-15853-4ce843d1",
        "digest": {
            "line_hashes": [
                "38329813360607004553092467826760994406",
                "182458909361269598744252420272304667328",
                "265924496730946848593345593789483999581",
                "112869328122952996430498009101837060069"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/xkbcommon/libxkbcommon/commit/1f9d1248c07cda8aaff762429c0dce146de8632a",
        "target": {
            "function": "ExprResolveBoolean",
            "file": "src/xkbcomp/expr.c"
        },
        "deprecated": false,
        "id": "CVE-2018-15853-e0dd6fde",
        "digest": {
            "length": 1539.0,
            "function_hash": "209006827910055964214525848213169957960"
        }
    }
]