Medium severity · published Oct 23, 2018
CVE-2018-18586
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…
5.3
CVSS
3.3%
EPSS
No
On KEV
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
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.3% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libmspack · Kyzer
0.3; 0.4; 0.5; 0.6; 0.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-18586
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-18586
Mailing List
https://bugs.debian.org/911639
Exploit
https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d
Third Party Advisory
https://security.gentoo.org/glsa/201903-20
Mailing List
https://www.openwall.com/lists/oss-security/2018/10/22/1
More from Libmspack
5.5
CVE-2019-1010305
libmspack 0.9.1alpha is affected by: Buffer Overflow
4.3
CVE-2018-18585
chmd_read_headers in mspack/chmd.c in libmspack before 0.8alpha accepts a filename that has '\0' as its first or second character (such as the "/\0" name)
