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
References (4)
Core 4
Core References
Exploit, Vendor Advisory x_refsource_misc
https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d
Mailing List, Third Party Advisory x_refsource_misc
https://www.openwall.com/lists/oss-security/2018/10/22/1
Mailing List, Third Party Advisory x_refsource_misc
https://bugs.debian.org/911639
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201903-20
Scores
CVSS v3
5.3
EPSS
0.0054
EPSS Percentile
67.7%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Details
CWE
CWE-22
Status
published
Products (5)
kyzer/libmspack
0.3 alpha
kyzer/libmspack
0.4 alpha
kyzer/libmspack
0.5 alpha
kyzer/libmspack
0.6 alpha
kyzer/libmspack
0.7 alpha
Published
Oct 23, 2018
Tracked Since
Feb 18, 2026