Every CVE Search/ Get API key

CVE-2018-18584

In mspack/cab.h in libmspack before 0.8alpha and cabextract before 1.8, the CAB block input...

6.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.66%Up 0.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2018-18584
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-18584
Updated
2026-11-02
EUVDEUVD-2018-10304 No score

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.

Record
EUVD-2018-10304
Updated
2026-11-03
GitHub AdvisoriesGHSA-gp3p-9jm9-wrjc 6.5

In mspack/cab.h in libmspack before 0.8alpha and cabextract before 1.8, the CAB block input...

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.

Record
GHSA-gp3p-9jm9-wrjc
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2018-18584 6.5

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.

Record
ALPINE-CVE-2018-18584
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2018-18584
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2018-18584 6.5

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.

Record
DEBIAN-CVE-2018-18584
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2019:2049 5.3

Red Hat Security Advisory: libmspack security update

Record
RHSA-2019:2049
CVSS 3.0
5.3 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2018-18584 6.5

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.

Record
UBUNTU-CVE-2018-18584
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2018-0455 No score

Updated libmspack/cabextract packages fix security vulnerabilities

Hanno Böck discovered that libmspack incorrectly handled certain CHM files. An attacker could possibly use this issue to cause a denial of service (CVE-2018-14679, CVE-2018-14680).

Jakub Wilk discovered that libmspack incorrectly handled certain KWAJ files. An attacker could possibly use this issue to execute arbitrary code (CVE-2018-14681).

Dmitry Glavatskikh discovered that libmspack incorrectly certain CHM files. An attacker could possibly use this issue to execute arbitrary code (CVE-2018-14682).

If a CAB file has a Quantum-compressed datablock with exactly 38912 compressed bytes, cabextract would write exactly one byte beyond its input buffer (CVE-2018-18584).

libmspack didn't reject blank CHM filenames that are blank because they have embedded null bytes, not just because they are zero-length (CVE-2018-18585).

chmextract didn't protect from absolute/relative pathnames in CHM files (CVE-2018-18586).

Record
MGASA-2018-0455
Updated
2026-11-02
OSVopenSUSE-SU-2024:13619-1 No score

libmspack-devel-0.11-2.1 on GA media

These are all security issues fixed in the libmspack-devel-0.11-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13619-1
Updated
2026-11-02
OSVSUSE-SU-2019:0748-1 No score

Security update for libmspack

This update for libmspack fixes the following issues:

Security issues fixed:

  • CVE-2018-18584: The CAB block input buffer was one byte too small for the maximal Quantum block, leading to an out-of-bounds write. (bsc#1113038)
  • CVE-2018-18585: chmd_read_headers accepted a filename that has '\0' as its first or second character (such as the '/\0' name). (bsc#1113039)
  • Fix off-by-one bounds check on CHM PMGI/PMGL chunk numbers and reject empty filenames.
Record
SUSE-SU-2019:0748-1
Updated
2026-11-02
OSVSUSE-SU-2019:13992-1 No score

Security update for libmspack

This update for libmspack fixes the following issues:

Security issues fixed:

  • CVE-2018-18584: The CAB block input buffer was one byte too small for the maximal Quantum block, leading to an out-of-bounds write. (bsc#1113038)
  • CVE-2018-18585: chmd_read_headers accepted a filename that has '\0' as its first or second character (such as the '/\0' name). (bsc#1113039)
Record
SUSE-SU-2019:13992-1
Updated
2026-11-02
OSVSUSE-SU-2020:2711-1 No score

Security update for libmspack

This update for libmspack fixes the following issues:

Security issues fixed:

  • CVE-2019-1010305: Fixed a buffer overflow triggered by a crafted chm file which could have led to information disclosure (bsc#1141680).
  • CVE-2018-18584: The CAB block input buffer was one byte too small for the maximal Quantum block, leading to an out-of-bounds write. (bsc#1113038)
  • CVE-2018-18585: chmd_read_headers accepted a filename that has '\0' as its first or second character (such as the '/\0' name). (bsc#1113039)
  • Fix off-by-one bounds check on CHM PMGI/PMGL chunk numbers and reject empty filenames.
Record
SUSE-SU-2020:2711-1
Updated
2026-11-02
OSVUSN-3814-1 No score

libmspack vulnerabilities

It was discovered libmspack incorrectly handled certain malformed CAB files. A remote attacker could use this issue to cause libmspack to crash, resulting in a denial of service. (CVE-2018-18584, CVE-2018-18585)

Record
USN-3814-1
Updated
2026-11-02
OSVUSN-3814-2 No score

clamav vulnerabilities

Updated: 2018-11-21: The embedded version of libmspack in ClamAV was found to not be affected by the listed vulnerabilities, therefore the following is not applicable.

USN-3814-1 fixed several vulnerabilities in libmspack. In Ubuntu 14.04 libmspack is included into ClamAV. This update provides the corresponding update for Ubuntu 14.04 LTS.

Original advisory details:

It was discovered libmspack incorrectly handled certain malformed CAB files. A remote attacker could use this issue to cause libmspack to crash, resulting in a denial of service. (CVE-2018-18584, CVE-2018-18585)

Record
USN-3814-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cabextract
Alpine:v3.10
before 1.8-r0
1.8-r0
cabextract
Alpine:v3.11
before 1.8-r0
1.8-r0
cabextract
Alpine:v3.6
before 1.8-r0
1.8-r0
cabextract
Alpine:v3.7
before 1.8-r0
1.8-r0
cabextract
Alpine:v3.8
before 1.8-r0
1.8-r0
cabextract
Alpine:v3.9
before 1.8-r0
1.8-r0
libmspack
Alpine:v3.10
before 0.8_alpha-r0
0.8_alpha-r0
libmspack
Alpine:v3.11
before 0.8_alpha-r0
0.8_alpha-r0
libmspack
Alpine:v3.6
before 0.8_alpha-r0
0.8_alpha-r0
libmspack
Alpine:v3.7
before 0.8_alpha-r0
0.8_alpha-r0
Show 35 moreShow less
Affected packages
PackageAffectedFixed
libmspack
Alpine:v3.8
before 0.8_alpha-r0
0.8_alpha-r0
libmspack
Alpine:v3.9
before 0.8_alpha-r0
0.8_alpha-r0
cabextract
Debian:12
before 1.4-5
1.4-5
cabextract
Debian:13
before 1.4-5
1.4-5
cabextract
Debian:14
before 1.4-5
1.4-5
libmspack
Debian:12
before 0.8-1
0.8-1
libmspack
Debian:13
before 0.8-1
0.8-1
libmspack
Debian:14
before 0.8-1
0.8-1
libmspack
Debian:8
before 0.5-1+deb8u3, plus listed versions
0.5-10.5-1+deb8u10.5-1+deb8u2
0.5-1+deb8u3
libmspack
Mageia:6
before 0.9.1-0.alpha.1.mga6
0.9.1-0.alpha.1.mga6
cabextract
Mageia:6
before 1.9-1.mga6
1.9-1.mga6
libmspack
Red Hat:enterprise_linux:7::client
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack-debuginfo
Red Hat:enterprise_linux:7::client
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack-devel
Red Hat:enterprise_linux:7::client
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack
Red Hat:enterprise_linux:7::computenode
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack-devel
Red Hat:enterprise_linux:7::computenode
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack
Red Hat:enterprise_linux:7::server
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack-debuginfo
Red Hat:enterprise_linux:7::server
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack-devel
Red Hat:enterprise_linux:7::server
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack
Red Hat:enterprise_linux:7::workstation
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack-devel
Red Hat:enterprise_linux:7::workstation
before 0:0.5-0.7.alpha.el7
0:0.5-0.7.alpha.el7
libmspack
SUSE:Linux Enterprise Module for Basesystem 15
before 0.6-3.3.11
0.6-3.3.11
libmspack
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 0.0.20060920alpha-74.11.6.1
0.0.20060920alpha-74.11.6.1
libmspack
SUSE:Linux Enterprise Server 11 SP4
before 0.0.20060920alpha-74.11.6.1
0.0.20060920alpha-74.11.6.1
libmspack
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 0.0.20060920alpha-74.11.6.1
0.0.20060920alpha-74.11.6.1
libmspack
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 0.4-15.7.1
0.4-15.7.1
libmspack
SUSE:Linux Enterprise Server 12 SP5
before 0.4-15.7.1
0.4-15.7.1
libmspack
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 0.4-15.7.1
0.4-15.7.1
clamav
Ubuntu:14.04:LTS
before 0.100.2+dfsg-1ubuntu0.14.04.2, plus listed versions
0.97.8+dfsg-1ubuntu40.97.8+dfsg-1ubuntu50.98.1+dfsg-1ubuntu40.98.1+dfsg-1ubuntu50.98.1+dfsg-2ubuntu2
Show 14 moreShow less
0.98.1+dfsg-4ubuntu10.98.1+dfsg-4ubuntu1.10.98.5+addedllvm-0ubuntu0.14.04.10.98.6+dfsg-0ubuntu0.14.04.10.98.7+dfsg-0ubuntu0.14.04.10.99.2+addedllvm-0ubuntu0.14.04.10.99.2+addedllvm-0ubuntu0.14.04.20.99.3+addedllvm-0ubuntu0.14.04.10.99.4+addedllvm-0ubuntu0.14.04.10.100.1+dfsg-1ubuntu0.14.04.10.100.1+dfsg-1ubuntu0.14.04.20.100.1+dfsg-1ubuntu0.14.04.30.100.1+dfsg-1ubuntu0.14.04.40.100.2+dfsg-1ubuntu0.14.04.1
0.100.2+dfsg-1ubuntu0.14.04.2
cabextract
Ubuntu:Pro:14.04:LTS
before 1.4-4ubuntu0.1~esm1, plus listed versions
1.4-4
1.4-4ubuntu0.1~esm1
libmspack
Ubuntu:Pro:14.04:LTS
before 0.4-1ubuntu0.1~esm1, plus listed versions
0.4-1
0.4-1ubuntu0.1~esm1
libmspack
Ubuntu:16.04:LTS
before 0.5-1ubuntu0.16.04.3, plus listed versions
0.5-10.5-1ubuntu0.16.04.10.5-1ubuntu0.16.04.2
0.5-1ubuntu0.16.04.3
libmspack
Ubuntu:18.04:LTS
before 0.6-3ubuntu0.2, plus listed versions
0.6-30.6-3ubuntu0.1
0.6-3ubuntu0.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-18584 is a medium vulnerability (CVSS 6.5) in Cabextract Project Cabextract, published October 22, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.66%, the 85th percentile. Fixed in cabextract 1.8-r0.

References

Show 41 moreShow less
MoveEnter Open