CVEfocus › CVE database › CVE-2018-18585

CVE-2018-18585

CVSS 4.3 MediumEPSS 3.1% (higher than 88% of CVEs)Published 2018-10-23Updated 2024-08-05Assigner: mitre

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

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

27Fixed
1Fix pending
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04clamavNot affected
vulnerable_code_not_present
Ubuntu 24.04libmspackNot affected
vulnerable_code_not_present
Ubuntu 22.04clamavNot affected
vulnerable_code_not_present
Ubuntu 22.04libmspackNot affected
vulnerable_code_not_present
Ubuntu 20.04libmspackNot affected
vulnerable_code_not_present
Ubuntu 18.04libmspackFixed0.6-3ubuntu0.2UBUNTU-CVE-2018-18585
Ubuntu 16.04clamavNot affected
vulnerable_code_not_present
Ubuntu 16.04libmspackFixed0.5-1ubuntu0.16.04.3UBUNTU-CVE-2018-18585
Ubuntu 14.04clamavFixed0.100.2+dfsg-1ubuntu0.14.04.2UBUNTU-CVE-2018-18585
Ubuntu 14.04libmspackFix pending0.4-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2018-18585
Debian 14libmspackFixed0.8-1DEBIAN-CVE-2018-18585
Debian 13libmspackFixed0.8-1DEBIAN-CVE-2018-18585
Debian 12libmspackFixed0.8-1DEBIAN-CVE-2018-18585
Red Hat Enterprise Linux 8libmspackNot affected
Red Hat Enterprise Linux 8libmspack-develNot affected
Red Hat Enterprise Linux 7libmspackFixed0:0.5-0.7.alpha.el7RHSA-2019:2049
Red Hat Enterprise Linux 7libmspack-develFixed0:0.5-0.7.alpha.el7RHSA-2019:2049
Alpine Linux 3.24libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.23libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.22libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.21libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.20libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.19libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.18libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.17libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.16libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.15libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.14libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.13libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.12libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.11libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.10libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.9libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.8libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.7libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585
Alpine Linux 3.6libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18585

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.