CVE Vulnerabilities

CVE-2018-18585

NULL Pointer Dereference

Published: Oct 23, 2018 | Modified: Oct 25, 2022
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

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).

Weakness

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Libmspack Kyzer 0.3-alpha (including) 0.3-alpha (including)
Libmspack Kyzer 0.4-alpha (including) 0.4-alpha (including)
Libmspack Kyzer 0.5-alpha (including) 0.5-alpha (including)
Libmspack Kyzer 0.6-alpha (including) 0.6-alpha (including)
Libmspack Kyzer 0.7-alpha (including) 0.7-alpha (including)

Potential Mitigations

References