---
title: "CVE-2018-15859"
canonical_url: "https://pkgseek.com/security/CVE-2018-15859"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2018-15859

Unchecked NULL pointer usage when parsing invalid atoms in ExprResolveLhs in xkbcomp/expr.c 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 lookup failures are mishandled.

CVE-2018-15859 严重级别为 MEDIUM (5.5)，共索引 7 条受影响软件包构建记录，涉及 3 个发行版。

- **级别 / 评分**: MEDIUM (5.5)
- **受影响构建数**: 7
- **涉及发行版**: 3
- **已标明修复版本发行版**: Fedora, openSUSE

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | x11-xkb-utils | 7.7+9 | — |
| Fedora | 42 | xkbcomp | 1.4.7-3.fc42 | 1.5.0-1.fc42 |
| Fedora | 42 | xkbcomp-devel | 1.4.7-3.fc42 | 1.5.0-1.fc42 |
| Fedora | 43 | xkbcomp | 1.4.7-4.fc43 | 1.5.0-1.fc43 |
| Fedora | 43 | xkbcomp-devel | 1.4.7-4.fc43 | 1.5.0-1.fc43 |
| openSUSE | 15.6 | xkbcomp | 1.4.1-150000.3.3.2 | 1.4.1-150000.3.6.1 |
| openSUSE | 15.6 | xkbcomp-devel | 1.4.1-150000.3.3.2 | 1.4.1-150000.3.6.1 |
