# CVE-2018-18586

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-10-23 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-18586, SUSE-SU-2022:0069-1, SUSE-SU-2022:0069-2, SUSE-SU-2022:4287-1, DEBIAN-CVE-2018-18586, openSUSE-SU-2022:0069-1
- Record: https://cvemate.com/vulnerability/CVE-2018-18586 · JSON: https://cvemate.com/vulnerability/CVE-2018-18586/json

## Description

```text
chmextract.c in the chmextract sample program, as distributed with libmspack before 0.8alpha, does not protect against absolute/relative pathnames in CHM files, leading to Directory Traversal. NOTE: the vendor disputes that this is a libmspack vulnerability, because chmextract.c was only intended as a source-code example, not a supported application
```

## Signals

- CVSS: 5.3 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 3.284%, percentile 88.847%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine libmspack (Alpine Linux): \< 0.8\_alpha-r0
- debian libmspack (Debian): \< 0.8-1
- kyzer libmspack: 0.3:alpha \| 0.4:alpha \| 0.5:alpha \| 0.6:alpha \| 0.7:alpha
- opensuse libmspack&distro=openSUSE Leap 15.3 (openSUSE): \< 0.6-3.14.1
- suse libmspack&distro=SUSE Linux Enterprise Micro 5.0 (SUSE Linux Enterprise): \< 0.6-3.14.1
- suse libmspack&distro=SUSE Linux Enterprise Micro 5.1 (SUSE Linux Enterprise): \< 0.6-3.14.1
- suse libmspack&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3 (SUSE Linux Enterprise): \< 0.6-3.14.1
- suse libmspack&distro=SUSE Linux Enterprise Real Time 15 SP2 (SUSE Linux Enterprise): \< 0.6-3.14.1
- suse libmspack&distro=SUSE Linux Enterprise Server 12 SP5 (SUSE Linux Enterprise): \< 0.4-15.13.1
- suse libmspack&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5 (SUSE Linux Enterprise): \< 0.4-15.13.1
- suse libmspack&distro=SUSE Linux Enterprise Software Development Kit 12 SP5 (SUSE Linux Enterprise): \< 0.4-15.13.1

## References

- <https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d>
- <https://www.openwall.com/lists/oss-security/2018/10/22/1>
- <https://bugs.debian.org/911639>
- <https://security.gentoo.org/glsa/201903-20>
- <https://security.alpinelinux.org/vuln/CVE-2018-18586>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20220069-1/>
- <https://bugzilla.suse.com/1113040>
- <https://www.suse.com/security/cve/CVE-2018-18586>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20220069-2/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20224287-1/>
- <https://security-tracker.debian.org/tracker/CVE-2018-18586>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/IRYD4Y2CDUYSBVQUIDXTTBL6H6XYW54G/>

---

Data as of 2026-12-05T03:34:47.492Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
