Directory Traversal Affecting libmspack package, versions <0.8-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.28% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBMSPACK-21173040
  • published17 Oct 2026
  • disclosed23 Oct 2018

Introduced: 23 Oct 2018

CVE-2018-18586  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Echo:latest libmspack to version 0.8-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libmspack package and not the libmspack package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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