Bug 1623033 (CVE-2018-15864) - CVE-2018-15864 libxkbcommon: NULL pointer dereference in resolve_keysym resulting in a crash
Summary: CVE-2018-15864 libxkbcommon: NULL pointer dereference in resolve_keysym resul...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-15864
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 1643490
Blocks: 1623044
TreeView+ depends on / blocked
 
Reported: 2018-08-28 12:01 UTC by Andrej Nemec
Modified: 2023-03-24 14:12 UTC (History)
3 users (show)

Fixed In Version: libxkbcommon 0.8.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 19:19:36 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:2079 0 None None None 2019-08-06 12:11:25 UTC

Description Andrej Nemec 2018-08-28 12:01:29 UTC
Unchecked NULL pointer usage in resolve_keysym in xkbcomp/parser.y 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, because a map access attempt can occur for a map that was never created.

Upstream patch:

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

References:

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

Comment 2 errata-xmlrpc 2019-08-06 12:11:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:2079 https://access.redhat.com/errata/RHSA-2019:2079

Comment 3 Product Security DevOps Team 2019-08-06 19:19:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-15864


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