{"id":"UBUNTU-CVE-2018-18584","details":"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.","modified":"2026-01-30T01:23:57.500594Z","published":"2018-10-22T00:00:00Z","related":["USN-3814-1","USN-3814-2","USN-3814-3"],"upstream":["CVE-2018-18584"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-18584"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2018/10/22/1"},{"type":"REPORT","url":"https://www.cabextract.org.uk/#changes"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3814-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3814-2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3814-3"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-18584"}],"affected":[{"package":{"name":"clamav","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/clamav@0.100.2+dfsg-1ubuntu0.14.04.2?arch=source&distro=trusty"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","binary_name":"clamav"},{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","binary_name":"clamav-base"},{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","binary_name":"clamav-daemon"},{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","binary_name":"clamav-docs"},{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","binary_name":"clamav-freshclam"},{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","binary_name":"clamav-milter"},{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","binary_name":"clamav-testfiles"},{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","binary_name":"libclamav-dev"},{"binary_version":"0.100.2+dfsg-1ubuntu0.14.04.2","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-18584.json"}},{"package":{"name":"cabextract","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/cabextract@1.4-4ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-4ubuntu0.1~esm1"}]}],"versions":["1.4-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4-4ubuntu0.1~esm1","binary_name":"cabextract"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-18584.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libmspack@0.4-1ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4-1ubuntu0.1~esm1"}]}],"versions":["0.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4-1ubuntu0.1~esm1","binary_name":"libmspack-dev"},{"binary_version":"0.4-1ubuntu0.1~esm1","binary_name":"libmspack0"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-18584.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libmspack@0.5-1ubuntu0.16.04.3?arch=source&distro=xenial"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5-1ubuntu0.16.04.3","binary_name":"libmspack-dev"},{"binary_version":"0.5-1ubuntu0.16.04.3","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-18584.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libmspack@0.6-3ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6-3ubuntu0.2"}]}],"versions":["0.6-3","0.6-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6-3ubuntu0.2","binary_name":"libmspack-dev"},{"binary_version":"0.6-3ubuntu0.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-18584.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}