# CVE-2018-18585

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-10-23 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-18585, UBUNTU-CVE-2018-18585, DEBIAN-CVE-2018-18585
- Record: https://cvemate.com/vulnerability/CVE-2018-18585 · JSON: https://cvemate.com/vulnerability/CVE-2018-18585/json

## Description

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

## Signals

- CVSS: 4.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- EPSS: 3.059%, percentile 88.019%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine libmspack (Alpine Linux): \< 0.8\_alpha-r0
- canonical ubuntu\_linux: 12.04 \| 14.04 \| 16.04 \| 18.04 \| 18.10
- debian libmspack (Debian): \< 0.8-1
- ubuntu clamav (Ubuntu): \< 0.100.2+dfsg-1ubuntu0.14.04.2
- ubuntu libmspack (Ubuntu): \< 0.4-1ubuntu0.1~esm2 \| \< 0.5-1ubuntu0.16.04.3 \| \< 0.6-3ubuntu0.2
- debian debian\_linux: 8.0
- kyzer libmspack: 0.3:alpha \| 0.4:alpha \| 0.5:alpha \| 0.6:alpha \| 0.7:alpha
- redhat enterprise\_linux\_desktop: 7.0
- redhat enterprise\_linux\_server: 7.0
- redhat enterprise\_linux\_workstation: 7.0
- starwindsoftware starwind\_virtual\_san: na
- suse linux\_enterprise\_server: 11:sp3 \| 12:ga \| 12:sp1 \| 12:sp2

## References

- <https://usn.ubuntu.com/3814-3/>
- <https://usn.ubuntu.com/3814-1/>
- <https://usn.ubuntu.com/3814-2/>
- <https://github.com/kyz/libmspack/commit/8759da8db6ec9e866cb8eb143313f397f925bb4f>
- <https://www.openwall.com/lists/oss-security/2018/10/22/1>
- <https://lists.debian.org/debian-lts-announce/2018/10/msg00017.html>
- <https://bugs.debian.org/911637>
- <https://security.gentoo.org/glsa/201903-20>
- <https://access.redhat.com/errata/RHSA-2019:2049>
- <https://www.starwindsoftware.com/security/sw-20181213-0002/>
- <https://security.alpinelinux.org/vuln/CVE-2018-18585>
- <https://ubuntu.com/security/CVE-2018-18585>
- <https://ubuntu.com/security/notices/USN-3814-1>
- <https://ubuntu.com/security/notices/USN-3814-2>
- <https://ubuntu.com/security/notices/USN-3814-3>
- <https://www.cve.org/CVERecord?id=CVE-2018-18585>
- <https://ubuntu.com/security/notices/USN-7788-1>
- <https://security-tracker.debian.org/tracker/CVE-2018-18585>

---

Data as of 2026-12-05T03:05:50.532Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
