{"id":"CVE-2018-18585","aliases":["ALPINE-CVE-2018-18585","DEBIAN-CVE-2018-18585","DLA-1555-1","EUVD-2018-10305","GHSA-wfp6-c53g-9x25","MGASA-2018-0455","RHSA-2019:2049","SUSE-SU-2019:0748-1","SUSE-SU-2019:13992-1","SUSE-SU-2020:2711-1","UBUNTU-CVE-2018-18585","USN-3814-1","USN-3814-2","USN-7788-1","openSUSE-SU-2024:13619-1"],"status":"published","title":"chmd_read_headers in mspack/chmd.c in libmspack before 0.8alpha accepts a filename that has '\\0'...","description":"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).","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03059,"percentile":0.87695,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2018-10-22T00:00:00Z","modified":"2026-11-03T06:31:26Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"libmspack","fixed_in":["0.8_alpha-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libmspack","fixed_in":["0.8-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libmspack","fixed_in":["0.8-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libmspack","fixed_in":["0.8-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"clamav","fixed_in":["0.100.2+dfsg-1ubuntu0.14.04.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libmspack","fixed_in":["0.4-1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libmspack","fixed_in":["0.5-1ubuntu0.16.04.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"libmspack","fixed_in":["0.6-3ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8_alpha-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5-1+deb8u3"}]}],"versions":["0.5-1","0.5-1+deb8u1","0.5-1+deb8u2"],"bundled":2},{"source":"osv","ecosystem":"Mageia:6","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.1-0.alpha.1.mga6"}]}],"bundled":7},{"source":"osv","ecosystem":"Mageia:6","package":"cabextract","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9-1.mga6"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"libmspack-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"libmspack-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"libmspack-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"libmspack-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"libmspack-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"libmspack-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"libmspack-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"libmspack-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.5-0.7.alpha.el7"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6-3.3.11"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20060920alpha-74.11.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20060920alpha-74.11.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20060920alpha-74.11.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4-15.7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4-15.7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4-15.7.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"clamav","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.100.2+dfsg-1ubuntu0.14.04.2"}]}],"versions":["0.97.8+dfsg-1ubuntu4","0.97.8+dfsg-1ubuntu5","0.98.1+dfsg-1ubuntu4","0.98.1+dfsg-1ubuntu5","0.98.1+dfsg-2ubuntu2","0.98.1+dfsg-4ubuntu1","0.98.1+dfsg-4ubuntu1.1","0.98.5+addedllvm-0ubuntu0.14.04.1","0.98.6+dfsg-0ubuntu0.14.04.1","0.98.7+dfsg-0ubuntu0.14.04.1","0.99.2+addedllvm-0ubuntu0.14.04.1","0.99.2+addedllvm-0ubuntu0.14.04.2","0.99.3+addedllvm-0ubuntu0.14.04.1","0.99.4+addedllvm-0ubuntu0.14.04.1","0.100.1+dfsg-1ubuntu0.14.04.1","0.100.1+dfsg-1ubuntu0.14.04.2","0.100.1+dfsg-1ubuntu0.14.04.3","0.100.1+dfsg-1ubuntu0.14.04.4","0.100.2+dfsg-1ubuntu0.14.04.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4-1ubuntu0.1~esm2"}]}],"versions":["0.4-1","0.4-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5-1ubuntu0.16.04.3"}]}],"versions":["0.5-1","0.5-1ubuntu0.16.04.1","0.5-1ubuntu0.16.04.2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6-3ubuntu0.2"}]}],"versions":["0.6-3","0.6-3ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5-1ubuntu0.16.04.3"}]}],"versions":["0.5-1","0.5-1ubuntu0.16.04.1","0.5-1ubuntu0.16.04.2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6-3ubuntu0.2"}]}],"versions":["0.6-3","0.6-3ubuntu0.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"clamav","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.100.2+dfsg-1ubuntu0.14.04.2"}]}],"versions":["0.97.8+dfsg-1ubuntu4","0.97.8+dfsg-1ubuntu5","0.98.1+dfsg-1ubuntu4","0.98.1+dfsg-1ubuntu5","0.98.1+dfsg-2ubuntu2","0.98.1+dfsg-4ubuntu1","0.98.1+dfsg-4ubuntu1.1","0.98.5+addedllvm-0ubuntu0.14.04.1","0.98.6+dfsg-0ubuntu0.14.04.1","0.98.7+dfsg-0ubuntu0.14.04.1","0.99.2+addedllvm-0ubuntu0.14.04.1","0.99.2+addedllvm-0ubuntu0.14.04.2","0.99.3+addedllvm-0ubuntu0.14.04.1","0.99.4+addedllvm-0ubuntu0.14.04.1","0.100.1+dfsg-1ubuntu0.14.04.1","0.100.1+dfsg-1ubuntu0.14.04.2","0.100.1+dfsg-1ubuntu0.14.04.3","0.100.1+dfsg-1ubuntu0.14.04.4","0.100.2+dfsg-1ubuntu0.14.04.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libmspack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4-1ubuntu0.1~esm2"}]}],"versions":["0.4-1","0.4-1ubuntu0.1~esm1"],"bundled":12}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"kyzer","product":"libmspack"},{"vendor":"redhat","product":"enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_workstation"},{"vendor":"starwindsoftware","product":"starwind_virtual_san"},{"vendor":"suse","product":"linux_enterprise_server"}],"references":[{"url":"https://usn.ubuntu.com/3814-3/","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/3814-1/","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/3814-2/","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/kyz/libmspack/commit/8759da8db6ec9e866cb8eb143313f397f925bb4f","tags":["x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://www.openwall.com/lists/oss-security/2018/10/22/1","tags":["x_transferred","Mailing List","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/10/msg00017.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://bugs.debian.org/911637","tags":["x_transferred","Issue Tracking","Mailing List","Third Party Advisory","report"]},{"url":"https://security.gentoo.org/glsa/201903-20","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2049","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.starwindsoftware.com/security/sw-20181213-0002/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18585","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/cve-2018-18585"},{"url":"https://tools.cisco.com/security/center/viewAlert.x?alertId=59134"},{"url":"https://www.suse.com/security/cve/CVE-2018-18585/"},{"url":"https://github.com/advisories/GHSA-wfp6-c53g-9x25"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-18585","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-18585","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0455.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23365","tags":["report"]},{"url":"https://usn.ubuntu.com/3728-1/","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2018/10/23/11","tags":["web"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1644214","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1644215","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2049.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-18584","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-18584","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18584","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-18585","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-18585","tags":["advisory","report"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190748-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1113038","tags":["report"]},{"url":"https://bugzilla.suse.com/1113039","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18584","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18585","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-201913992-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2020/suse-su-20202711-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1130489","tags":["report"]},{"url":"https://bugzilla.suse.com/1141680","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1010305","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-18585","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3814-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3814-2","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3814-3","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7788-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-18584","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-4467","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-4468","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-4469","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-4472","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-6419","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11423","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-14679","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-14680","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-14681","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-14682","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-1010305","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18586","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-18585","description":"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).","status":"published","published":"2018-10-23T00:00:00Z","modified":"2024-08-05T11:15:59.618Z","updated_at":"2026-11-02T14:35:11.426178Z"}],"euvd":[{"id":"EUVD-2018-10305","description":"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).","status":"published","published":"2018-10-23T00:00:00Z","modified":"2024-08-05T11:15:59Z","updated_at":"2026-11-03T02:39:35.790696Z"}],"ghsa":[{"id":"GHSA-wfp6-c53g-9x25","title":"chmd_read_headers in mspack/chmd.c in libmspack before 0.8alpha accepts a filename that has '\\0'...","description":"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).","status":"published","published":"2022-05-14T00:54:46Z","modified":"2023-01-30T05:00:30Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:46:13.0899Z"}],"nvd":[{"id":"CVE-2018-18585","description":"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).","status":"published","published":"2018-10-23T02:29:00.513Z","modified":"2026-06-17T01:47:33.02Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:04:46.409324Z"}],"osv":[{"id":"ALPINE-CVE-2018-18585","description":"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).","status":"published","published":"2018-10-23T02:29:00.513Z","modified":"2026-11-03T06:31:26.562846432Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-03T07:18:23.800469Z"},{"id":"CVE-2018-18585","description":"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).","status":"published","published":"2018-10-23T02:29:00.513Z","modified":"2026-10-20T13:22:42.826511206Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:08.834469Z"},{"id":"DEBIAN-CVE-2018-18585","description":"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).","status":"published","published":"2018-10-23T02:29:00.513Z","modified":"2026-10-23T18:04:47.225591599Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"RHSA-2019:2049","title":"Red Hat Security Advisory: libmspack security update","status":"published","published":"2024-09-16T01:56:56Z","modified":"2026-06-26T10:42:46Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:53:06.0195Z"},{"id":"UBUNTU-CVE-2018-18585","description":"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).","status":"published","published":"2018-10-22T00:00:00Z","modified":"2026-04-22T11:49:38.425906Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:54:17.496046Z"},{"id":"DLA-1555-1","title":"libmspack - security update","status":"published","published":"2018-10-26T00:00:00Z","modified":"2026-03-09T01:22:40.810109Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"MGASA-2018-0455","title":"Updated libmspack/cabextract packages fix security vulnerabilities","description":"Hanno Böck discovered that libmspack incorrectly handled certain CHM\nfiles. An attacker could possibly use this issue to cause a denial of\nservice (CVE-2018-14679, CVE-2018-14680).\n\nJakub Wilk discovered that libmspack incorrectly handled certain KWAJ\nfiles. An attacker could possibly use this issue to execute arbitrary\ncode (CVE-2018-14681).\n\nDmitry Glavatskikh discovered that libmspack incorrectly certain CHM\nfiles. An attacker could possibly use this issue to execute arbitrary\ncode (CVE-2018-14682).\n\nIf a CAB file has a Quantum-compressed datablock with exactly 38912\ncompressed bytes, cabextract would write exactly one byte beyond its\ninput buffer (CVE-2018-18584).\n\nlibmspack didn't reject blank CHM filenames that are blank because they\nhave embedded null bytes, not just because they are zero-length\n(CVE-2018-18585).\n\nchmextract didn't protect from absolute/relative pathnames in CHM files\n(CVE-2018-18586).\n","status":"published","published":"2018-11-17T22:23:26Z","modified":"2026-04-16T06:25:07.215441631Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2024:13619-1","title":"libmspack-devel-0.11-2.1 on GA media","description":"These are all security issues fixed in the libmspack-devel-0.11-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:21:14.920643Z","updated_at":"2026-11-02T16:58:36.327643Z"},{"id":"SUSE-SU-2019:0748-1","title":"Security update for libmspack","description":"This update for libmspack fixes the following issues:\n\nSecurity issues fixed:\n\n- 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)\n- 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)\n- Fix off-by-one bounds check on CHM PMGI/PMGL chunk numbers and reject empty filenames.\n","status":"published","published":"2019-03-26T13:36:00Z","modified":"2026-02-04T03:45:44.430256Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"SUSE-SU-2019:13992-1","title":"Security update for libmspack","description":"This update for libmspack fixes the following issues:\n\nSecurity issues fixed:\n\n- 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)\n- 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)\n\n","status":"published","published":"2019-03-27T10:05:22Z","modified":"2026-02-04T04:04:46.591134Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"SUSE-SU-2020:2711-1","title":"Security update for libmspack","description":"This update for libmspack fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2019-1010305: Fixed a buffer overflow triggered by a crafted chm file\n  which could have led to information disclosure (bsc#1141680).\n- CVE-2018-18584: The CAB block input buffer was one byte too small for the \n  maximal Quantum block, leading to an out-of-bounds write. (bsc#1113038)\n- CVE-2018-18585: chmd_read_headers accepted a filename that has '\\0' as its \n  first or second character (such as the '/\\0' name). (bsc#1113039)\n- Fix off-by-one bounds check on CHM PMGI/PMGL chunk numbers and reject empty filenames.\n","status":"published","published":"2020-09-22T15:07:08Z","modified":"2025-05-02T04:08:03.801047Z","updated_at":"2026-11-02T15:53:48.11786Z"},{"id":"USN-3814-1","title":"libmspack vulnerabilities","description":"It was discovered libmspack incorrectly handled certain malformed CAB files.\nA remote attacker could use this issue to cause libmspack to crash, resulting\nin a denial of service. (CVE-2018-18584, CVE-2018-18585)\n","status":"published","published":"2018-11-12T10:44:43Z","modified":"2026-04-22T09:51:18.351556Z","updated_at":"2026-11-02T16:58:14.019824Z"},{"id":"USN-3814-2","title":"clamav vulnerabilities","description":"Updated: 2018-11-21: The embedded version of libmspack in ClamAV was\nfound to not be affected by the listed vulnerabilities, therefore the\nfollowing is not applicable.\n\nUSN-3814-1 fixed several vulnerabilities in libmspack. In Ubuntu 14.04\nlibmspack is included into ClamAV. This update provides the\ncorresponding update for Ubuntu 14.04 LTS.\n\nOriginal advisory details:\n\n It was discovered libmspack incorrectly handled certain malformed CAB files.\n A remote attacker could use this issue to cause libmspack to crash, resulting\n in a denial of service. (CVE-2018-18584, CVE-2018-18585)\n","status":"published","published":"2018-11-13T02:37:50Z","modified":"2026-04-22T09:51:40.512336Z","updated_at":"2026-11-02T16:58:14.019824Z"},{"id":"USN-7788-1","title":"libmspack vulnerabilities","description":"Jakub Wilk discovered that libmspack did not correctly handle certain\ninteger operations and bounds checking. A remote attacker could possibly\nuse this issue to cause a denial of service. (CVE-2015-4467, CVE-2015-4468,\nCVE-2015-4469, CVE-2015-4472)\n\nIt was discovered that libmspack incorrectly handled certain malformed CAB\nfiles. A remote attacker could use this issue to cause libmspack to crash,\nresulting in a denial of service. (CVE-2017-11423)\n\nIt was discovered that libmspack incorrectly handled certain malformed CHM\nfiles. A remote attacker could use this issue to cause libmspack to crash,\nresulting in a denial of service, or possibly execute arbitrary code.\n(CVE-2017-6419)\n\nHanno Böck discovered that libmspack incorrectly handled certain CHM files.\nAn attacker could possibly use this issue to cause a denial of service.\n(CVE-2018-14679, CVE-2018-14680)\n\nJakub Wilk discovered that libmspack incorrectly handled certain KWAJ\nfiles. An attacker could possibly use this issue to execute arbitrary code.\n(CVE-2018-14681)\n\nDmitry Glavatskikh discovered that libmspack incorrectly handled certain\nCHM files. An attacker could possibly use this issue to execute arbitrary\ncode. (CVE-2018-14682)\n\nIt was discovered libmspack incorrectly handled certain malformed CAB\nfiles. A remote attacker could use this issue to cause libmspack to crash,\nresulting in a denial of service. (CVE-2018-18585)\n\nIt was discovered that libmspack incorrectly handled certain CHM files. A\nremote attacker could possibly use this issue to access sensitive\ninformation. (CVE-2019-1010305)","status":"published","published":"2025-10-01T00:06:41Z","modified":"2026-04-22T11:02:37.001569Z","updated_at":"2026-11-02T16:58:21.91885Z"}]}}
