CVEfocus › CVE database › CVE-2018-18584

CVE-2018-18584

CVSS 6.5 MediumEPSS 2.7% (higher than 86% of CVEs)Published 2018-10-23Updated 2024-08-05Assigner: mitre

In mspack/cab.h in libmspack before 0.8alpha and cabextract before 1.8, the CAB block input buffer is one byte too small for the maximal Quantum block, leading to an out-of-bounds write.

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

49Fixed
2Fix pending
10Not 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 22.04cabextractNot affected
vulnerable_code_not_present
Ubuntu 22.04clamavNot affected
vulnerable_code_not_present
Ubuntu 22.04libmspackNot affected
vulnerable_code_not_present
Ubuntu 20.04cabextractNot affected
vulnerable_code_not_present
Ubuntu 20.04libmspackNot affected
vulnerable_code_not_present
Ubuntu 18.04cabextractNot affected
vulnerable_code_not_present
Ubuntu 18.04libmspackFixed0.6-3ubuntu0.2UBUNTU-CVE-2018-18584
Ubuntu 16.04cabextractNot affected
vulnerable_code_not_present
Ubuntu 16.04clamavNot affected
vulnerable_code_not_present
Ubuntu 16.04libmspackFixed0.5-1ubuntu0.16.04.3UBUNTU-CVE-2018-18584
Ubuntu 14.04cabextractFix pending1.4-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2018-18584
Ubuntu 14.04clamavFixed0.100.2+dfsg-1ubuntu0.14.04.2UBUNTU-CVE-2018-18584
Ubuntu 14.04libmspackFix pending0.4-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2018-18584
Debian 14cabextractFixed1.4-5DEBIAN-CVE-2018-18584
Debian 14libmspackFixed0.8-1DEBIAN-CVE-2018-18584
Debian 13cabextractFixed1.4-5DEBIAN-CVE-2018-18584
Debian 13libmspackFixed0.8-1DEBIAN-CVE-2018-18584
Debian 12cabextractFixed1.4-5DEBIAN-CVE-2018-18584
Debian 12libmspackFixed0.8-1DEBIAN-CVE-2018-18584
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.24cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.24libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.23cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.23libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.22cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.22libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.21cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.21libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.20cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.20libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.19cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.19libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.18cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.18libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.17cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.17libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.16cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.16libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.15cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.15libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.14cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.14libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.13cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.13libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.12cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.12libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.11cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.11libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.10cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.10libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.9cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.9libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.8cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.8libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.7cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.7libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584
Alpine Linux 3.6cabextractFixed1.8-r0ALPINE-CVE-2018-18584
Alpine Linux 3.6libmspackFixed0.8_alpha-r0ALPINE-CVE-2018-18584

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.