Skip to content
Fencer Intel
high 7.5

CVE-2019-18408 json

archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE…

published 7y ago modified 4mo ago also EUVD-2019-8180

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.0%
EPSS 4.0% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol.

Patch / fix

  • libarchive libarchive 3.4.0
  • libarchive Debian 14, Debian 13, Debian 12 3.4.0-1

debian advisories DEBIAN-CVE-2019-18408

  • libarchive Ubuntu 16.04 LTS 3.1.2-11ubuntu0.16.04.7
  • libarchive Ubuntu 18.04 LTS 3.2.2-3.1ubuntu0.5
  • libarchive Ubuntu Pro 14.04 LTS 3.1.2-7ubuntu2.8+esm1

ubuntu advisories UBUNTU-CVE-2019-18408

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libarchive RHEL 8 3.3.2-8.el8_1
  • bsdtar RHEL 8 3.3.2-8.el8_1
  • libarchive RHEL 7 3.1.2-14.el7_7
  • bsdtar RHEL 7 3.1.2-14.el7_7
  • bsdcpio RHEL 7 3.1.2-14.el7_7
  • libarchive RHEL 8.0 E4S 3.3.2-4.el8_0
  • bsdtar RHEL 8.0 E4S 3.3.2-4.el8_0

red hat advisories RHSA-2020:0271RHSA-2020:0246RHSA-2020:0203

  • libarchive SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +10 more 3.3.3-3.14.1
  • libarchive SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15, SLE Module for Basesystem 15 SP1 +1 more 3.3.2-3.11.1
  • libarchive SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +4 more 3.1.2-26.6.1

suse advisories SUSE-RU-2021:2757-1SUSE-SU-2019:3093-1SUSE-SU-2019:3092-1

  • bsdtar openSUSE Tumbleweed 3.5.1-1.5
  • libarchive openSUSE Leap 15.1 3.3.2-lp151.5.3.1
  • libarchive openSUSE Leap 15.0 3.3.2-lp150.10.1

opensuse advisories openSUSE-SU-2024:10925-1openSUSE-SU-2019:2632-1openSUSE-SU-2019:2615-1

  • libarchive Alpine 3.10, Alpine 3.9, Alpine 3.8 +1 more 3.3.3-r1
  • libarchive Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 3.4.0-r0

alpine advisories ALPINE-CVE-2019-18408

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2019-18408 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-18408 updated cvss 8.1

libarchive: use-after-free in archive_read_format_rar_read_data when there is an error in the decompression of an archive entry

  • Red Hat CodeReady Linux Builder (v. 8) bsdcat-debuginfo 3.3.2-8.el8_1, bsdtar-debuginfo 3.3.2-8.el8_1, libarchive-devel 3.3.2-8.el8_1, bsdcpio-debuginfo 3.3.2-8.el8_1, libarchive-debuginfo 3.3.2-8.el8_1, libarchive-debugsource 3.3.2-8.el8_1 Red Hat Enterprise Linux BaseOS (v. 8) bsdtar 3.3.2-8.el8_1, libarchive 3.3.2-8.el8_1
    fixed: vendor fix “No known mitigation.” RHSA-2020:0271
  • Red Hat Enterprise Linux BaseOS E4S (v. 8.0) bsdtar 3.3.2-4.el8_0, libarchive 3.3.2-4.el8_0
    fixed: vendor fix “No known mitigation.” RHSA-2020:0246
  • Red Hat Enterprise Linux Client (v. 7) libarchive 3.1.2-14.el7_7 Red Hat Enterprise Linux Client Optional (v. 7) bsdtar 3.1.2-14.el7_7, bsdcpio 3.1.2-14.el7_7 Red Hat Enterprise Linux ComputeNode (v. 7) libarchive 3.1.2-14.el7_7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) bsdtar 3.1.2-14.el7_7, bsdcpio 3.1.2-14.el7_7 Red Hat Enterprise Linux Server (v. 7) libarchive 3.1.2-14.el7_7 Red Hat Enterprise Linux Server Optional (v. 7) bsdtar 3.1.2-14.el7_7, bsdcpio 3.1.2-14.el7_7
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) libarchive 3.1.2-14.el7_7 Red Hat Enterprise Linux Workstation Optional (v. 7) bsdtar 3.1.2-14.el7_7, bsdcpio 3.1.2-14.el7_7
    fixed: vendor fix “No known mitigation.” RHSA-2020:0203
  • Red Hat Enterprise Linux 6 libarchive
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.04% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.