Bug 1623024 (CVE-2018-15858) - CVE-2018-15858 libxkbcommon: NULL pointer dereference when handling invalid aliases in CopyKeyAliasesToKeymap resulting in a crash
Summary: CVE-2018-15858 libxkbcommon: NULL pointer dereference when handling invalid a...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-15858
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1623038
Blocks: 1623044
TreeView+ depends on / blocked
 
Reported: 2018-08-28 11:55 UTC by Andrej Nemec
Modified: 2019-09-29 14:57 UTC (History)
3 users (show)

Fixed In Version: libxkbcommon 0.8.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-26 10:24:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-08-28 11:55:16 UTC
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.

Upstream patch:

https://github.com/xkbcommon/libxkbcommon/commit/badb428e63387140720f22486b3acbd3d738859f

References:

https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html

Comment 2 Riccardo Schirone 2018-10-26 10:24:40 UTC
I cannot reproduce this NULL dereference, closing it as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.