CVEvulnerability
CVE-2018-18586
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-10-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 5.3 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- 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 configurations
• kyzer libmspack 0.3
• kyzer libmspack 0.4
• kyzer libmspack 0.5
• kyzer libmspack 0.6
• kyzer libmspack 0.7
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://bugs.debian.org/911639 Mailing List, Third Party Advisory
- https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d Exploit, Vendor Advisory
- https://security.gentoo.org/glsa/201903-20 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2018/10/22/1 Mailing List, Third Party Advisory
- https://bugs.debian.org/911639 Mailing List, Third Party Advisory
- https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d Exploit, Vendor Advisory
- https://security.gentoo.org/glsa/201903-20 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2018/10/22/1 Mailing List, Third Party Advisory