CVE-2018-18585
published 2018-10-23CVE-2018-18585: 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).
PriorityP419medium4.3CVSS 3.1
AVNACLPRNUIRSUCNINAL
EPSS
3.06%
86.1th percentile
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).
Affected
25 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| clamav | clamav | >= 0 < 0.100.2+dfsg-1ubuntu0.14.04.2 | 0.100.2+dfsg-1ubuntu0.14.04.2 |
| debian | debian_linux | — | — |
| debian | libmspack | < libmspack 0.8-1 (bookworm) | libmspack 0.8-1 (bookworm) |
| kyzer | libmspack | — | — |
| kyzer | libmspack | — | — |
| kyzer | libmspack | — | — |
| kyzer | libmspack | — | — |
| kyzer | libmspack | — | — |
| libmspack_project | libmspack | >= 0 < 0.8-1 | 0.8-1 |
| libmspack_project | libmspack | >= 0 < 0.8-1 | 0.8-1 |
| libmspack_project | libmspack | >= 0 < 0.8-1 | 0.8-1 |
| libmspack_project | libmspack | >= 0 < 0.8-1 | 0.8-1 |
| libmspack_project | libmspack | >= 0 < 0.5-1ubuntu0.16.04.3 | 0.5-1ubuntu0.16.04.3 |
| libmspack_project | libmspack | >= 0 < 0.6-3ubuntu0.2 | 0.6-3ubuntu0.2 |
| libmspack_project | libmspack | >= 0 < 0.4-1ubuntu0.1~esm2 | 0.4-1ubuntu0.1~esm2 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
| suse | linux_enterprise_server | — | — |
| suse | linux_enterprise_server | — | — |
CVSS provenance
nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_ubuntu6.5MEDIUM
vendor_debian4.3MEDIUM
vendor_redhat4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
libmspack vulnerabilities
osv·2025-10-01·CVSS 4.3
CVE-2015-4467 [MEDIUM] libmspack vulnerabilities
libmspack vulnerabilities
Jakub Wilk discovered that libmspack did not correctly handle certain
integer operations and bounds checking. A remote attacker could possibly
use this issue to cause a denial of service. (CVE-2015-4467, CVE-2015-4468,
CVE-2015-4469, CVE-2015-4472)
It was discovered that 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-2017-11423)
It was discovered that libmspack incorrectly handled certain malformed CHM
files. A remote attacker could use this issue to cause libmspack to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2017-6419)
Hanno Böck discovered that libmspack incorrectly handled certain CHM files.
An attac
GHSA
GHSA-wfp6-c53g-9x25: chmd_read_headers in mspack/chmd
ghsa_unreviewed·2022-05-14
CVE-2018-18585 [MEDIUM] CWE-476 GHSA-wfp6-c53g-9x25: chmd_read_headers in mspack/chmd
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).
OSV
clamav vulnerabilities
osv·2018-11-13·CVSS 6.5
[MEDIUM] clamav vulnerabilities
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)
OSV
libmspack vulnerabilities
osv·2018-11-12·CVSS 6.5
CVE-2018-18584 [MEDIUM] libmspack vulnerabilities
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)
OSV
CVE-2018-18585: chmd_read_headers in mspack/chmd
osv·2018-10-23·CVSS 4.3
CVE-2018-18585 [MEDIUM] CVE-2018-18585: chmd_read_headers in mspack/chmd
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).
Ubuntu
libmspack vulnerabilities
vendor_ubuntu·2025-10-01·CVSS 4.3
CVE-2018-14679 [MEDIUM] libmspack vulnerabilities
Title: libmspack vulnerabilities
Summary: Several security issues were fixed in libmspack.
Jakub Wilk discovered that libmspack did not correctly handle certain
integer operations and bounds checking. A remote attacker could possibly
use this issue to cause a denial of service. (CVE-2015-4467, CVE-2015-4468,
CVE-2015-4469, CVE-2015-4472)
It was discovered that 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-2017-11423)
It was discovered that libmspack incorrectly handled certain malformed CHM
files. A remote attacker could use this issue to cause libmspack to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2017-6419)
Hanno Böck discove
Ubuntu
ClamAV vulnerabilities
vendor_ubuntu·2018-11-13·CVSS 6.5
CVE-2018-18584 [MEDIUM] ClamAV vulnerabilities
Title: ClamAV vulnerabilities
Summary: Several security issues were fixed in ClamAV.
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)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
ClamAV vulnerabilities
vendor_ubuntu·2018-11-13·CVSS 6.5
CVE-2018-18584 [MEDIUM] ClamAV vulnerabilities
Title: ClamAV vulnerabilities
Summary: Several security issues were fixed in ClamAV.
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-2 fixed several vulnerabilities in clamav. This update provides
the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
It was discovered ClamAV incorrectly handled certain malformed CAB files.
A remote attacker could use this issue to cause ClamAV to crash, resulting
in a denial of service. (CVE-2018-18584, CVE-2018-18585)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
libmspack vulnerabilities
vendor_ubuntu·2018-11-12·CVSS 6.5
CVE-2018-18584 [MEDIUM] libmspack vulnerabilities
Title: libmspack vulnerabilities
Summary: Several security issues were fixed in libmspack.
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)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
libmspack: chmd_read_headers() fails to reject filenames containing NULL bytes
vendor_redhat·2018-10-17·CVSS 4.3
CVE-2018-18585 [MEDIUM] CWE-476 libmspack: chmd_read_headers() fails to reject filenames containing NULL bytes
libmspack: chmd_read_headers() fails to reject filenames containing NULL bytes
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).
Statement: This issue affects the versions of libmspack as shipped with Red Hat Enterprise Linux 7.
Package: libmspack (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-18585: libmspack - chmd_read_headers in mspack/chmd.c in libmspack before 0.8alpha accepts a filena...
vendor_debian·2018·CVSS 4.3
CVE-2018-18585 [MEDIUM] CVE-2018-18585: libmspack - chmd_read_headers in mspack/chmd.c in libmspack before 0.8alpha accepts a filena...
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).
Scope: local
bookworm: resolved (fixed in 0.8-1)
bullseye: resolved (fixed in 0.8-1)
forky: resolved (fixed in 0.8-1)
sid: resolved (fixed in 0.8-1)
trixie: resolved (fixed in 0.8-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-18585 libmspack: chmd_read_headers() fails to reject filenames containing NULL bytes
bugzilla·2018-10-30·CVSS 4.3
CVE-2018-18585 [MEDIUM] CVE-2018-18585 libmspack: chmd_read_headers() fails to reject filenames containing NULL bytes
CVE-2018-18585 libmspack: chmd_read_headers() fails to reject filenames containing NULL bytes
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).
Upstream patch:
https://github.com/kyz/libmspack/commit/8759da8db6ec9e866cb8eb143313f397f925bb4f
References:
https://www.openwall.com/lists/oss-security/2018/10/22/1
Discussion:
Created cabextract tracking bugs for this issue:
Affects: epel-all [bug 1644222]
Affects: fedora-all [bug 1644221]
Created libmspack tracking bugs for this issue:
Affects: epel-all [bug 1644219]
Affects: fedora-all [bug 1644218]
---
Statement:
This issue affects the versions of libmspack as shipped with Red Hat Enterprise Linux 7.
---
This issue has been
Bugzilla
CVE-2018-18584 CVE-2018-18585 cabextract: various flaws [epel-all]
bugzilla·2018-10-30·CVSS 6.5
CVE-2018-18584 [MEDIUM] CVE-2018-18584 CVE-2018-18585 cabextract: various flaws [epel-all]
CVE-2018-18584 CVE-2018-18585 cabextract: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora EP
Bugzilla
CVE-2018-18584 CVE-2018-18585 cabextract: various flaws [fedora-all]
bugzilla·2018-10-30·CVSS 6.5
CVE-2018-18584 [MEDIUM] CVE-2018-18584 CVE-2018-18585 cabextract: various flaws [fedora-all]
CVE-2018-18584 CVE-2018-18585 cabextract: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedor
Bugzilla
CVE-2018-18584 CVE-2018-18585 libmspack: various flaws [fedora-all]
bugzilla·2018-10-30·CVSS 6.5
CVE-2018-18584 [MEDIUM] CVE-2018-18584 CVE-2018-18585 libmspack: various flaws [fedora-all]
CVE-2018-18584 CVE-2018-18585 libmspack: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora
Bugzilla
CVE-2018-18584 CVE-2018-18585 libmspack: various flaws [epel-all]
bugzilla·2018-10-30·CVSS 6.5
CVE-2018-18584 [MEDIUM] CVE-2018-18584 CVE-2018-18585 libmspack: various flaws [epel-all]
CVE-2018-18584 CVE-2018-18585 libmspack: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora EPE
https://access.redhat.com/errata/RHSA-2019:2049https://bugs.debian.org/911637https://github.com/kyz/libmspack/commit/8759da8db6ec9e866cb8eb143313f397f925bb4fhttps://lists.debian.org/debian-lts-announce/2018/10/msg00017.htmlhttps://security.gentoo.org/glsa/201903-20https://usn.ubuntu.com/3814-1/https://usn.ubuntu.com/3814-2/https://usn.ubuntu.com/3814-3/https://www.openwall.com/lists/oss-security/2018/10/22/1https://www.starwindsoftware.com/security/sw-20181213-0002/https://access.redhat.com/errata/RHSA-2019:2049https://bugs.debian.org/911637https://github.com/kyz/libmspack/commit/8759da8db6ec9e866cb8eb143313f397f925bb4fhttps://lists.debian.org/debian-lts-announce/2018/10/msg00017.htmlhttps://security.gentoo.org/glsa/201903-20https://usn.ubuntu.com/3814-1/https://usn.ubuntu.com/3814-2/https://usn.ubuntu.com/3814-3/https://www.openwall.com/lists/oss-security/2018/10/22/1https://www.starwindsoftware.com/security/sw-20181213-0002/
2018-10-23
Published