{"schemaVersion":3,"id":"CVE-2018-18584","aliases":["ALPINE-CVE-2018-18584","UBUNTU-CVE-2018-18584","DEBIAN-CVE-2018-18584"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-10-23T00:00:00.000Z","modified":"2024-08-05T11:15:59.620Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true}]},"epss":{"probability":0.03086,"percentile":0.87502,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03086},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03086,"percentile":0.87502}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03086,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03086,"percentile":0.87502}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"cabextract","name":"cabextract","label":"cabextract","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/cabextract","purlType":"apk","versions":[{"text":"< 1.8-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"libmspack","name":"libmspack","label":"libmspack","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/libmspack","purlType":"apk","versions":[{"text":"< 0.8_alpha-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8_alpha-r0","eol":null,"hubHref":null},{"vendor":"cabextract_project","product":"cabextract","name":"cabextract","label":"cabextract","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8","eol":null,"hubHref":"/vendor/cabextract_project/cabextract"},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"12.04","noFixRecorded":false,"fixedIn":null},{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"18.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.04 | 14.04 | 16.04 | 18.04 | 18.10","eol":{"isEol":true,"eolDate":"2017-04-28T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"12.04","label":"12.04 'Precise Pangolin' (LTS)","eolFrom":"2017-04-28T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"12.04.5"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"cabextract","name":"cabextract","label":"cabextract","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cabextract","purlType":"deb","versions":[{"text":"< 1.4-5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4-5","eol":null,"hubHref":null},{"vendor":"debian","product":"libmspack","name":"libmspack","label":"libmspack","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libmspack","purlType":"deb","versions":[{"text":"< 0.8-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cabextract","name":"cabextract","label":"cabextract","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cabextract","purlType":"deb","versions":[{"text":"< 1.4-4ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4-4ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"clamav","name":"clamav","label":"clamav","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/clamav","purlType":"deb","versions":[{"text":"< 0.100.2+dfsg-1ubuntu0.14.04.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.100.2+dfsg-1ubuntu0.14.04.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libmspack","name":"libmspack","label":"libmspack","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libmspack","purlType":"deb","versions":[{"text":"< 0.4-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.5-1ubuntu0.16.04.3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6-3ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4-1ubuntu0.1~esm1 | < 0.5-1ubuntu0.16.04.3 | < 0.6-3ubuntu0.2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"libmspack_project","product":"libmspack","name":"libmspack","label":"libmspack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.3:alpha","noFixRecorded":false,"fixedIn":null},{"text":"0.4:alpha","noFixRecorded":false,"fixedIn":null},{"text":"0.5:alpha","noFixRecorded":false,"fixedIn":null},{"text":"0.6:alpha","noFixRecorded":false,"fixedIn":null},{"text":"0.7:alpha","noFixRecorded":false,"fixedIn":null},{"text":"0.7.1:alpha","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.3:alpha | 0.4:alpha | 0.5:alpha | 0.6:alpha | 0.7:alpha | 0.7.1:alpha","eol":null,"hubHref":"/vendor/libmspack_project/libmspack"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (ELS)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"7.9"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"starwindsoftware","product":"starwind_virtual_san","name":"starwind virtual san","label":"starwind_virtual_san","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/starwindsoftware/starwind_virtual_san"},{"vendor":"suse","product":"linux_enterprise_server","name":"linux enterprise server","label":"linux_enterprise_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11:sp3","noFixRecorded":false,"fixedIn":null},{"text":"12:ga","noFixRecorded":false,"fixedIn":null},{"text":"12:sp1","noFixRecorded":false,"fixedIn":null},{"text":"12:sp2","noFixRecorded":false,"fixedIn":null}],"versionsText":"11:sp3 | 12:ga | 12:sp1 | 12:sp2","eol":null,"hubHref":"/vendor/suse/linux_enterprise_server"}],"affectedCount":14,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://bugs.debian.org/911640","label":"bugs.debian.org/911640","hostname":"bugs.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.cabextract.org.uk/#changes","label":"www.cabextract.org.uk","hostname":"www.cabextract.org.uk","tags":["Product","Vendor Advisory","REPORT"]},{"url":"https://usn.ubuntu.com/3814-3/","label":"usn.ubuntu.com/3814-3/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3814-1/","label":"usn.ubuntu.com/3814-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3814-2/","label":"usn.ubuntu.com/3814-2/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2018/10/22/1","label":"www.openwall.com/lists/oss-security/2018/10/22/1","hostname":"www.openwall.com","tags":["Mailing List","Third Party Advisory","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/10/msg00017.html","label":"lists.debian.org/debian-lts-announce/2018/10/msg00017.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/kyz/libmspack/commit/40ef1b4093d77ad3a5cfcee1f5cb6108b3a3bcc2","label":"github.com/kyz/libmspack/commit/40ef1b4093d77ad3a5cfcee1f5cb6108b3a3bcc2","hostname":"github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201903-20","label":"security.gentoo.org/glsa/201903-20","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2049","label":"access.redhat.com/errata/RHSA-2019:2049","hostname":"access.redhat.com","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://www.starwindsoftware.com/security/sw-20181213-0001/","label":"www.starwindsoftware.com/security/sw-20181213-0001/","hostname":"www.starwindsoftware.com","tags":["Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-18584","label":"security.alpinelinux.org/vuln/CVE-2018-18584","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-18584","label":"ubuntu.com/security/CVE-2018-18584","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3814-1","label":"ubuntu.com/security/notices/USN-3814-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3814-2","label":"ubuntu.com/security/notices/USN-3814-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3814-3","label":"ubuntu.com/security/notices/USN-3814-3","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-18584","label":"www.cve.org/CVERecord?id=CVE-2018-18584","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-18584","label":"security-tracker.debian.org/tracker/CVE-2018-18584","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1555-1","MGASA-2018-0455","RHSA-2019:2049","SUSE-SU-2019:0748-1","SUSE-SU-2019:13992-1","SUSE-SU-2020:2711-1","USN-3814-1","USN-3814-2"],"duplicates":[],"related":["SUSE-SU-2019:0748-1","SUSE-SU-2019:13992-1","SUSE-SU-2020:2711-1","USN-3814-1","USN-3814-2"]},"timeline":[{"kind":"published","date":"2018-10-23T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T11:15:59.620Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:59:34.863Z","stale":false,"partial":false}}