{"schemaVersion":3,"id":"CVE-2018-1000878","aliases":["UBUNTU-CVE-2018-1000878","DEBIAN-CVE-2018-1000878"],"status":"published","duplicateOf":null,"title":null,"description":"libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c that can result in Crash/DoS - it is unknown if RCE is possible. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.","dates":{"published":"2018-12-20T17:00:00.000Z","modified":"2024-08-05T12:47:56.920Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.04449,"percentile":0.91299,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.04449},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04449,"percentile":0.91299}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04449,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04449,"percentile":0.91299}]},"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-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"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":"14.04 | 16.04 | 18.04 | 18.10","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"libarchive","name":"libarchive","label":"libarchive","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libarchive","purlType":"deb","versions":[{"text":"< 3.3.3-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.3-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libarchive","name":"libarchive","label":"libarchive","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libarchive","purlType":"deb","versions":[{"text":"< 3.1.2-7ubuntu2.7","noFixRecorded":false,"fixedIn":null},{"text":"< 3.1.2-11ubuntu0.16.04.5","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.2-3.1ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.2-7ubuntu2.7 | < 3.1.2-11ubuntu0.16.04.5 | < 3.2.2-3.1ubuntu0.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},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.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":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"28","noFixRecorded":false,"fixedIn":null},{"text":"29","noFixRecorded":false,"fixedIn":null},{"text":"30","noFixRecorded":false,"fixedIn":null}],"versionsText":"28 | 29 | 30","eol":{"isEol":true,"eolDate":"2019-05-28T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"28","label":"28","eolFrom":"2019-05-28T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libarchive","product":"libarchive","name":"libarchive","label":"libarchive","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.1.0, < 3.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.1.0, < 3.4.0","eol":null,"hubHref":"/vendor/libarchive/libarchive"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.0","eol":{"isEol":true,"eolDate":"2019-12-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.0","label":"Leap 15.0","eolFrom":"2019-12-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"}],"affectedCount":10,"eol":{"hasEol":true,"count":4},"references":[{"url":"https://usn.ubuntu.com/3859-1/","label":"usn.ubuntu.com/3859-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00011.html","label":"lists.debian.org/debian-lts-announce/2018/12/msg00011.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909","label":"bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909","hostname":"bugs.launchpad.net","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT"]},{"url":"https://www.debian.org/security/2018/dsa-4360","label":"www.debian.org/security/2018/dsa-4360","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://github.com/libarchive/libarchive/pull/1105","label":"github.com/libarchive/libarchive/pull/1105","hostname":"github.com","tags":["X Refsource MISC","Third Party Advisory","REPORT"]},{"url":"http://www.securityfocus.com/bid/106324","label":"www.securityfocus.com/bid/106324","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://github.com/libarchive/libarchive/pull/1105/commits/bfcfe6f04ed20db2504db8a254d1f40a1d84eb28","label":"github.com/libarchive/libarchive/pull/1105/commits/bfcfe6f04ed20db2504db8a254d1f40a1d84eb28","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVXA7PHINVT6DFF6PRLTDTVTXKDLVHNF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W645KCLWFDBDGFJHG57WOVXGE62QSIJI/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBOCC2M6YGPZA6US43YK4INPSJZZHRTG/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00055.html","label":"lists.opensuse.org/opensuse-security-announce/2019-04/msg00055.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2298","label":"access.redhat.com/errata/RHSA-2019:2298","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3698","label":"access.redhat.com/errata/RHSA-2019:3698","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00012.html","label":"lists.opensuse.org/opensuse-security-announce/2019-12/msg00012.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00015.html","label":"lists.opensuse.org/opensuse-security-announce/2019-12/msg00015.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"https://ubuntu.com/security/CVE-2018-1000878","label":"ubuntu.com/security/CVE-2018-1000878","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3859-1","label":"ubuntu.com/security/notices/USN-3859-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1000878","label":"www.cve.org/CVERecord?id=CVE-2018-1000878","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1000878","label":"security-tracker.debian.org/tracker/CVE-2018-1000878","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1612-1","DSA-4360-1","MGASA-2019-0030","OPENSUSE-SU-2019:1196-1","OPENSUSE-SU-2019:2615-1","OPENSUSE-SU-2019:2632-1","OPENSUSE-SU-2024:10925-1","RHSA-2019:2298","RHSA-2019:3698","SUSE-SU-2019:0831-1","SUSE-SU-2019:3092-1","SUSE-SU-2019:3093-1","USN-3859-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:1196-1","OPENSUSE-SU-2019:2615-1","OPENSUSE-SU-2019:2632-1","OPENSUSE-SU-2024:10925-1","SUSE-SU-2019:0831-1","SUSE-SU-2019:3092-1","SUSE-SU-2019:3093-1","USN-3859-1"]},"timeline":[{"kind":"published","date":"2018-12-20T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T12:47:56.920Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:28:37.191Z","stale":false,"partial":false}}