NULL pointer dereference in Xkbcommon Libxkbcommon

CVE-2018-15858

Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes.c 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.

EPSS: 0.004 (35.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (Patch, Mailing List, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2018-15858?
CVE-2018-15858 is a medium-severity vulnerability in Xkbcommon Libxkbcommon, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2018-08-25.
How severe is CVE-2018-15858?
Medium severity. CVSS v3 base score is 5.5 out of 10.