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 FencerVendor 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_1fixed: 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_0fixed: 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_7fixed: vendor fix “No known mitigation.” RHSA-2020:0203
+2 more productsfewer
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 -
Red Hat Enterprise Linux 6 libarchivenot 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
-
- CWE-416 Use After Free
References
-
github.com
/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60
patch, third-party-advisory
-
usn.ubuntu.com
/4169-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2019/dsa-4557
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-12/msg00012.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-12/msg00015.html
vendor-advisory
-
access.redhat.com
/errata/RHSA-2020:0246
vendor-advisory
-
access.redhat.com
/errata/RHSA-2020:0271
vendor-advisory
-
access.redhat.com
/errata/RHSA-2020:0203
vendor-advisory
-
security.gentoo.org
/glsa/202003-28
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6LZ4VJGTCYEJSDLOEWUUFG6TM4SUPFSY/
vendor-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=14689
third-party-advisory
-
github.com
/libarchive/libarchive/compare/v3.3.3...v3.4.0
release-notes, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/10/msg00034.html
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Nov/2
mailing-list
- support.f5.com /csp/article/K52144175?utm_source=f5support&%3Butm_medium=RSS
Sources
- CVE List CVE-2019-18408
- NVD CVE-2019-18408
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.