CVE-2019-18408Use After Free in Libarchive

CWE-416Use After Free10 documents7 sources
Severity
7.5HIGHNVD
EPSS
4.6%
top 10.76%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 24
Latest updateMay 24

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

debiandebian/libarchive< libarchive 3.4.0-1 (bookworm)
Debianlibarchive/libarchive< 3.4.0-1+3

Also affects: Debian Linux 8.0, Ubuntu Linux 14.04, 16.04, 18.04, 19.04

Patches

🔴Vulnerability Details

2
GHSA
GHSA-4hj2-55w3-4qwh: archive_read_format_rar_read_data in archive_read_support_format_rar2022-05-24
OSV
CVE-2019-18408: archive_read_format_rar_read_data in archive_read_support_format_rar2019-10-24

📋Vendor Advisories

3
Ubuntu
libarchive vulnerability2019-10-29
Red Hat
libarchive: use-after-free in archive_read_format_rar_read_data when there is an error in the decompression of an archive entry2019-05-10
Debian
CVE-2019-18408: libarchive - archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarc...2019

💬Community

4
Bugzilla
CVE-2019-18408 libarchive3: libarchive: use-after-free in archive_read_format_rar_read_data when there is an error in the decompression of an archive entry [epel-6]2019-11-07
Bugzilla
CVE-2019-18408 libarchive: use-after-free in archive_read_format_rar_read_data when there is an error in the decompression of an archive entry [fedora-all]2019-11-07
Bugzilla
CVE-2019-18408 mingw-libarchive: libarchive: use-after-free in archive_read_format_rar_read_data when there is an error in the decompression of an archive entry [fedora-all]2019-11-07
Bugzilla
CVE-2019-18408 libarchive: use-after-free in archive_read_format_rar_read_data when there is an error in the decompression of an archive entry2019-11-07