CVE catalog

CVE-2018-1000877

libarchive: CVE-2018-1000877

[CVE catalog]

Severity
High · CVSS 7CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
4.58% · Oct 25, 2026

libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c, parse_codes(), realloc(rar->lzss.window, new_size) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibarchivesid3.8.10-2fixed
Debianlibarchiveforky3.8.9-1fixed
Debianlibarchivetrixie3.7.4-4+deb13u1fixed
Debianlibarchivebookworm3.6.2-1+deb12u4fixed
Debianlibarchivebookworm-security3.6.2-1+deb12u5fixed
Ubuntulibarchive14.043.1.2-5ubuntu1vulnerable
Ubuntulibarchive14.043.1.2-7ubuntu1vulnerable
Ubuntulibarchive14.043.1.2-7ubuntu2vulnerable
Ubuntulibarchive14.043.1.2-7ubuntu2.1vulnerable
Ubuntulibarchive14.043.1.2-7ubuntu2.2vulnerable
Ubuntulibarchive14.043.1.2-7ubuntu2.3vulnerable
Ubuntulibarchive14.043.1.2-7ubuntu2.4vulnerable
Ubuntulibarchive14.043.1.2-7ubuntu2.6vulnerable
Ubuntulibarchive14.043.1.2-7ubuntu2.7fixed
Ubuntulibarchive16.043.1.2-11build1vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.1vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.2vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.3vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.4vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.5fixed
Ubuntulibarchive18.043.2.2-3.1vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.1vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.2fixed
Opensuselibarchiveleap 15.03.3.2-lp150.10.1fixed
Suselibarchivelinux enterprise module for basesystem 153.3.2-3.11.1fixed
Suselibarchivelinux enterprise module for basesystem 15 sp13.3.2-3.11.1fixed
Suselibarchivelinux enterprise module for development tools 153.3.2-3.11.1fixed
Suselibarchivelinux enterprise module for development tools 15 sp13.3.2-3.11.1fixed
Opensuselibarchiveleap 15.13.3.2-lp151.5.3.1fixed
Opensuselibarchiveleap 15.03.3.2-lp150.7.1fixed
Suselibarchivelinux enterprise module for basesystem 153.3.2-3.8.4fixed
Suselibarchivelinux enterprise module for development tools 153.3.2-3.8.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibarchivesourcesid3.3.3-2not yet assignedNot reported[916964]
Debianlibarchivesourceforky3.3.3-2not yet assignedNot reported[916964]
Debianlibarchivesourcetrixie3.3.3-2not yet assignedNot reported[916964]
Debianlibarchivesourcebookworm3.3.3-2not yet assignedNot reported[916964]
Ubuntulibarchivedeb14.043.1.2-7ubuntu2.7Not reportedUBUNTU-CVE-2018-1000877Not reported
Ubuntulibarchivedeb16.043.1.2-11ubuntu0.16.04.5Not reportedUBUNTU-CVE-2018-1000877Not reported
Ubuntulibarchivedeb18.043.2.2-3.1ubuntu0.2Not reportedUBUNTU-CVE-2018-1000877Not reported
Opensuselibarchiverpmleap 15.03.3.2-lp150.10.1Not reportedOPENSUSE-SU-2019:2615-1Not reported
Suselibarchiverpmlinux enterprise module for basesystem 153.3.2-3.11.1Not reportedSUSE-SU-2019:3093-1Not reported
Suselibarchiverpmlinux enterprise module for basesystem 15 sp13.3.2-3.11.1Not reportedSUSE-SU-2019:3093-1Not reported
Suselibarchiverpmlinux enterprise module for development tools 153.3.2-3.11.1Not reportedSUSE-SU-2019:3093-1Not reported
Suselibarchiverpmlinux enterprise module for development tools 15 sp13.3.2-3.11.1Not reportedSUSE-SU-2019:3093-1Not reported
Opensuselibarchiverpmleap 15.13.3.2-lp151.5.3.1Not reportedOPENSUSE-SU-2019:2632-1Not reported
Opensuselibarchiverpmleap 15.03.3.2-lp150.7.1Not reportedOPENSUSE-SU-2019:1196-1Not reported
Suselibarchiverpmlinux enterprise module for basesystem 153.3.2-3.8.4Not reportedSUSE-SU-2019:0831-1Not reported
Suselibarchiverpmlinux enterprise module for development tools 153.3.2-3.8.4Not reportedSUSE-SU-2019:0831-1Not reported

[Debian bug #916964]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.3.3-2

      dsa · libarchive · debian · 13

Observed:

References