Skip to content
Fencer Intel
medium 6.5

CVE-2018-18584 json

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 Qu…

published 8y ago modified 4mo ago also EUVD-2018-10304

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.7%
EPSS 2.7% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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.

Patch / fix

  • cabextract_project cabextract 1.8
  • libmspack Debian 14, Debian 13, Debian 12 0.8-1
  • cabextract Debian 14, Debian 13, Debian 12 1.4-5

debian advisories DEBIAN-CVE-2018-18584

  • clamav Ubuntu 14.04 LTS 0.100.2+dfsg-1ubuntu0.14.04.2
  • libmspack Ubuntu 16.04 LTS 0.5-1ubuntu0.16.04.3
  • libmspack Ubuntu 18.04 LTS 0.6-3ubuntu0.2
  • libmspack Ubuntu Pro 14.04 LTS 0.4-1ubuntu0.1~esm1
  • cabextract Ubuntu Pro 14.04 LTS 1.4-4ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2018-18584

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libmspack RHEL 7 0.5-0.7.alpha.el7

red hat advisories RHSA-2019:2049

  • libmspack SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 0.4-15.7.1
  • libmspack SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 0.0.20060920alpha-74.11.6.1
  • libmspack SLE Module for Basesystem 15 0.6-3.3.11

suse advisories SUSE-SU-2020:2711-1SUSE-SU-2019:13992-1SUSE-SU-2019:0748-1

  • libmspack Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 0.8_alpha-r0
  • cabextract Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 1.8-r0

alpine advisories ALPINE-CVE-2018-18584

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2018-18584 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-18584 updated cvss 5.3

libmspack: Out-of-bounds write in mspack/cab.h

  • Red Hat Enterprise Linux Client (v. 7) libmspack 0.5-0.7.alpha.el7 Red Hat Enterprise Linux Client Optional (v. 7) libmspack-devel 0.5-0.7.alpha.el7, libmspack-debuginfo 0.5-0.7.alpha.el7 Red Hat Enterprise Linux ComputeNode (v. 7) libmspack 0.5-0.7.alpha.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libmspack-devel 0.5-0.7.alpha.el7, libmspack-debuginfo 0.5-0.7.alpha.el7 Red Hat Enterprise Linux Server (v. 7) libmspack 0.5-0.7.alpha.el7 Red Hat Enterprise Linux Server Optional (v. 7) libmspack 0.5-0.7.alpha.el7
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) libmspack 0.5-0.7.alpha.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) libmspack-devel 0.5-0.7.alpha.el7, libmspack-debuginfo 0.5-0.7.alpha.el7
    fixed: vendor fix RHSA-2019:2049
  • Red Hat Enterprise Linux 8 libmspack
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.66% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.