CWE
476
Advisory Published
CVE Published
Updated

CVE-2018-18585: Null Pointer Dereference

First published: Mon Oct 22 2018(Updated: )

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).

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/libmspack<0.8
0.8
redhat/cabextract<1.8
1.8
ubuntu/clamav<0.100.2+dfsg-1ubuntu0.14.04.2
0.100.2+dfsg-1ubuntu0.14.04.2
ubuntu/libmspack<0.6-3ubuntu0.2
0.6-3ubuntu0.2
ubuntu/libmspack<0.7-1ubuntu0.1
0.7-1ubuntu0.1
ubuntu/libmspack<0.5-1ubuntu0.16.04.3
0.5-1ubuntu0.16.04.3
debian/libmspack
0.10.1-2
0.11-1
0.11-1.1
Libmspack=0.3-alpha
Libmspack=0.4-alpha
Libmspack=0.5-alpha
Libmspack=0.6-alpha
Libmspack=0.7-alpha
Debian=8.0
Red Hat Enterprise Linux Desktop=7.0
Red Hat Enterprise Linux Server=7.0
Red Hat Enterprise Linux Workstation=7.0
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=18.04
Ubuntu=18.10
SUSE Linux Enterprise Server=11-sp3
SUSE Linux Enterprise Server=12-ga
SUSE Linux Enterprise Server=12-sp1
SUSE Linux Enterprise Server=12-sp2
StarWind iSCSI SAN

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2018-18585?

    CVE-2018-18585 is a vulnerability in the chmd_read_headers function in libmspack before version 0.8alpha.

  • What is the severity of CVE-2018-18585?

    The severity of CVE-2018-18585 is medium, with a CVSS score of 4.3.

  • Which software packages are affected by CVE-2018-18585?

    The affected software packages are libmspack before 0.8alpha and clamav.

  • How can I fix CVE-2018-18585 for libmspack?

    To fix CVE-2018-18585 for libmspack, update to version 0.8alpha or later.

  • How can I fix CVE-2018-18585 for clamav?

    To fix CVE-2018-18585 for clamav, update to version 0.100.2+dfsg-1ubuntu0.14.04.2 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203