{"id":"UBUNTU-CVE-2018-14682","details":"An issue was discovered in mspack/chmd.c in libmspack before 0.7alpha. There is an off-by-one error in the TOLOWER() macro for CHM decompression.","modified":"2026-02-04T04:13:06.970291Z","published":"2018-07-28T00:00:00Z","related":["USN-3728-1","USN-3728-2","USN-3728-3","USN-3789-2","USN-7788-1"],"upstream":["CVE-2018-14682"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-14682"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2018/07/26/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3728-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3728-2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3728-3"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3789-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-14682"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7788-1"}],"affected":[{"package":{"name":"clamav","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/clamav@0.100.1+dfsg-1ubuntu0.14.04.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.100.1+dfsg-1ubuntu0.14.04.3"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"clamav"},{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"clamav-base"},{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"clamav-daemon"},{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"clamav-docs"},{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"clamav-freshclam"},{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"clamav-milter"},{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"clamav-testfiles"},{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"libclamav-dev"},{"binary_version":"0.100.1+dfsg-1ubuntu0.14.04.3","binary_name":"libclamav7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14682.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libmspack@0.4-1ubuntu0.1~esm2?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4-1ubuntu0.1~esm2"}]}],"versions":["0.4-1","0.4-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4-1ubuntu0.1~esm2","binary_name":"libmspack-dev"},{"binary_version":"0.4-1ubuntu0.1~esm2","binary_name":"libmspack0"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14682.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libmspack@0.5-1ubuntu0.16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5-1ubuntu0.16.04.2"}]}],"versions":["0.5-1","0.5-1ubuntu0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5-1ubuntu0.16.04.2","binary_name":"libmspack-dev"},{"binary_version":"0.5-1ubuntu0.16.04.2","binary_name":"libmspack0"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14682.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libmspack@0.6-3ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6-3ubuntu0.1"}]}],"versions":["0.6-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6-3ubuntu0.1","binary_name":"libmspack-dev"},{"binary_version":"0.6-3ubuntu0.1","binary_name":"libmspack0"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14682.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}