chmdreadheaders 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).
[
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"284170693861670192769649738077027374383",
"328010522186380992829508643319645870295",
"337185572412918404811406182571160109925",
"311119288129859831691903272572458162229",
"333854538769822575592451592026482133150",
"137173230354041756601323120725473316269",
"35069138540823503665903806403420112095",
"298929599602399015466854119268521340890"
]
},
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "libmspack/mspack/chmd.c"
},
"source": "https://github.com/kyz/libmspack/commit/8759da8db6ec9e866cb8eb143313f397f925bb4f",
"id": "CVE-2018-18585-7863a9d1"
},
{
"signature_version": "v1",
"digest": {
"function_hash": "65072954031163830704155016403856911861",
"length": 6633.0
},
"deprecated": false,
"signature_type": "Function",
"target": {
"function": "chmd_read_headers",
"file": "libmspack/mspack/chmd.c"
},
"source": "https://github.com/kyz/libmspack/commit/8759da8db6ec9e866cb8eb143313f397f925bb4f",
"id": "CVE-2018-18585-9f8a5e9c"
}
]