What’s Vulnerable › Vulnerabilities
CVE-2018-18586
- Severity: medium (CVSS 5.3 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-10-23 · updated 2026-06-17
- Weakness: CWE-22
Description
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
Affected products
- Kyzer Libmspack: 0.3-alpha, 0.4-alpha, 0.5-alpha, 0.6-alpha, 0.7-alpha
References
- https://bugs.debian.org/911639
- https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d
- https://security.gentoo.org/glsa/201903-20
- https://www.openwall.com/lists/oss-security/2018/10/22/1
- https://bugs.debian.org/911639
- https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d
- https://security.gentoo.org/glsa/201903-20
- https://www.openwall.com/lists/oss-security/2018/10/22/1
Get alerted when CVE-2018-18586 or the next vulnerability affects your stack