CVE-2018-18584
In mspack/cab.h in libmspack before 0.8alpha and cabextract before 1.8, the CAB block input...
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.
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
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 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 6.5 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
cabextractAlpine:v3.10 |
before 1.8-r0 | 1.8-r0 |
cabextractAlpine:v3.11 |
before 1.8-r0 | 1.8-r0 |
cabextractAlpine:v3.6 |
before 1.8-r0 | 1.8-r0 |
cabextractAlpine:v3.7 |
before 1.8-r0 | 1.8-r0 |
cabextractAlpine:v3.8 |
before 1.8-r0 | 1.8-r0 |
cabextractAlpine:v3.9 |
before 1.8-r0 | 1.8-r0 |
libmspackAlpine:v3.10 |
before 0.8_alpha-r0 | 0.8_alpha-r0 |
libmspackAlpine:v3.11 |
before 0.8_alpha-r0 | 0.8_alpha-r0 |
libmspackAlpine:v3.6 |
before 0.8_alpha-r0 | 0.8_alpha-r0 |
libmspackAlpine:v3.7 |
before 0.8_alpha-r0 | 0.8_alpha-r0 |
Show 35 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libmspackAlpine:v3.8 |
before 0.8_alpha-r0 | 0.8_alpha-r0 |
libmspackAlpine:v3.9 |
before 0.8_alpha-r0 | 0.8_alpha-r0 |
cabextractDebian:12 |
before 1.4-5 | 1.4-5 |
cabextractDebian:13 |
before 1.4-5 | 1.4-5 |
cabextractDebian:14 |
before 1.4-5 | 1.4-5 |
libmspackDebian:12 |
before 0.8-1 | 0.8-1 |
libmspackDebian:13 |
before 0.8-1 | 0.8-1 |
libmspackDebian:14 |
before 0.8-1 | 0.8-1 |
libmspackDebian:8 |
before 0.5-1+deb8u3, plus listed versions 0.5-10.5-1+deb8u10.5-1+deb8u2 |
0.5-1+deb8u3 |
libmspackMageia:6 |
before 0.9.1-0.alpha.1.mga6 | 0.9.1-0.alpha.1.mga6 |
cabextractMageia:6 |
before 1.9-1.mga6 | 1.9-1.mga6 |
libmspackRed Hat:enterprise_linux:7::client |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspack-debuginfoRed Hat:enterprise_linux:7::client |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspack-develRed Hat:enterprise_linux:7::client |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspackRed Hat:enterprise_linux:7::computenode |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspack-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspack-develRed Hat:enterprise_linux:7::computenode |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspackRed Hat:enterprise_linux:7::server |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspack-debuginfoRed Hat:enterprise_linux:7::server |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspack-develRed Hat:enterprise_linux:7::server |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspackRed Hat:enterprise_linux:7::workstation |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspack-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspack-develRed Hat:enterprise_linux:7::workstation |
before 0:0.5-0.7.alpha.el7 | 0:0.5-0.7.alpha.el7 |
libmspackSUSE:Linux Enterprise Module for Basesystem 15 |
before 0.6-3.3.11 | 0.6-3.3.11 |
libmspackSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 0.0.20060920alpha-74.11.6.1 | 0.0.20060920alpha-74.11.6.1 |
libmspackSUSE:Linux Enterprise Server 11 SP4 |
before 0.0.20060920alpha-74.11.6.1 | 0.0.20060920alpha-74.11.6.1 |
libmspackSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 0.0.20060920alpha-74.11.6.1 | 0.0.20060920alpha-74.11.6.1 |
libmspackSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 0.4-15.7.1 | 0.4-15.7.1 |
libmspackSUSE:Linux Enterprise Server 12 SP5 |
before 0.4-15.7.1 | 0.4-15.7.1 |
libmspackSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 0.4-15.7.1 | 0.4-15.7.1 |
clamavUbuntu: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 less0.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 |
cabextractUbuntu:Pro:14.04:LTS |
before 1.4-4ubuntu0.1~esm1, plus listed versions 1.4-4 |
1.4-4ubuntu0.1~esm1 |
libmspackUbuntu:Pro:14.04:LTS |
before 0.4-1ubuntu0.1~esm1, plus listed versions 0.4-1 |
0.4-1ubuntu0.1~esm1 |
libmspackUbuntu: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 |
libmspackUbuntu:18.04:LTS |
before 0.6-3ubuntu0.2, plus listed versions 0.6-30.6-3ubuntu0.1 |
0.6-3ubuntu0.2 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
bugs.debian.org/911640
cabextract.org.uk
usn.ubuntu.com/3814-3
usn.ubuntu.com/3814-1
usn.ubuntu.com/3814-2
openwall.com/lists/oss-security/2018/10/22/1
Show 41 moreShow less
lists.debian.org/debian-lts-announce/2018/10/msg00017.html
github.com/kyz/libmspack/commit/40ef1b4093d77ad3a5cfcee1f5cb6108b3a3bcc2
security.gentoo.org/glsa/201903-20
access.redhat.com/errata/RHSA-2019:2049
starwindsoftware.com/security/sw-20181213-0001
nvd.nist.gov/vuln/detail/CVE-2018-18584
access.redhat.com/security/cve/cve-2018-18584
packetstormsecurity.com/files/150310/Ubuntu-Security-Notice-USN-3814-3.html
suse.com/security/cve/CVE-2018-18584
github.com/advisories/GHSA-gp3p-9jm9-wrjc
security.alpinelinux.org/vuln/CVE-2018-18584
security-tracker.debian.org/tracker/CVE-2018-18584
advisories.mageia.org/MGASA-2018-0455.html
bugs.mageia.org/show_bug.cgi?id=23365
usn.ubuntu.com/3728-1
openwall.com/lists/oss-security/2018/10/23/11
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1644214
bugzilla.redhat.com/show_bug.cgi?id=1644215
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2049.json
access.redhat.com/security/cve/CVE-2018-18584
cve.org/CVERecord?id=CVE-2018-18584
access.redhat.com/security/cve/CVE-2018-18585
cve.org/CVERecord?id=CVE-2018-18585
nvd.nist.gov/vuln/detail/CVE-2018-18585
suse.com/support/update/announcement/2019/suse-su-20190748-1
bugzilla.suse.com/1113038
bugzilla.suse.com/1113039
suse.com/security/cve/CVE-2018-18585
suse.com/support/update/announcement/2019/suse-su-201913992-1
suse.com/support/update/announcement/2020/suse-su-20202711-1
bugzilla.suse.com/1130489
bugzilla.suse.com/1141680
suse.com/security/cve/CVE-2019-1010305
ubuntu.com/security/CVE-2018-18584
ubuntu.com/security/notices/USN-3814-1
ubuntu.com/security/notices/USN-3814-2
ubuntu.com/security/notices/USN-3814-3
ubuntu.com/security/CVE-2018-18585
suse.com/security/cve/CVE-2018-18586