Denial of service in libmspack

Published: 2018-11-15
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-18585
Exploitation vector Network
Public exploit N/A
Vulnerable software
Universal components / Libraries / Libraries used by multiple products

Vendor Stuart Caie

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Null pointer dereference

EUVDB-ID: #VU15908

Risk: Low


CVE-ID: CVE-2018-18585


Exploit availability:


The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists due to  the chmd_read_headers function, as defined in the mspack/chmd.c source code file of the affected software, accepts filenames that have embedded NULL bytes. A remote attacker can trick the victim into accessing a Compiled HTML (CHM) file that submits malicious input to the targeted system, trigger NULL pointer dereference and cause the service to crash.


Update to version 0.8alpha.

Vulnerable software versions

libmspack: 0.3 - 0.7

Fixed software versions

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?