cve.bz

CVE-2019-18408 Use After Free

7.5 highEPSS 4.0%Fix available

High (7.5). EPSS 4.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.0% (unchanged from 4.0% a week ago; 4.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-18408 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-18408?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-18408?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-18408 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libarchive:libarchivebefore 3.4.0
debian:debian_linux8.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libarchive3.1.2-11+deb8u8DLA-1971-1
Debian9libarchive3.2.2-2+deb9u2DSA-4557-1
Debian10libarchive3.3.3-4+deb10u1DSA-4557-1
Debian12, 13, 14libarchive3.4.0-1DEBIAN-CVE-2019-18408
Ubuntu16.04:LTSlibarchive3.1.2-11ubuntu0.16.04.7UBUNTU-CVE-2019-18408 USN-4169-1
Ubuntu18.04:LTSlibarchive3.2.2-3.1ubuntu0.5UBUNTU-CVE-2019-18408 USN-4169-1
UbuntuPro:14.04:LTSlibarchive3.1.2-7ubuntu2.8+esm1UBUNTU-CVE-2019-18408 USN-4169-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morebsdtar, bsdcpio, libarchive and 2 more0:3.1.2-14.el7_7RHSA-2020:0203
Red Hatenterprise_linux:8::baseosbsdtar, libarchive, bsdcat-debuginfo and 4 more0:3.3.2-8.el8_1RHSA-2020:0271
Red Hatenterprise_linux:8::crbbsdcat-debuginfo, bsdtar-debuginfo, libarchive-devel and 3 more0:3.3.2-8.el8_1RHSA-2020:0271
Red Hatrhel_e4s:8.0::baseosbsdtar, libarchive, bsdcat-debuginfo and 4 more0:3.3.2-4.el8_0RHSA-2020:0246
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 morelibarchive3.3.3-3.14.1SUSE-RU-2021:2757-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server 12 SP5 and 4 morelibarchive3.1.2-26.6.1SUSE-SU-2019:3092-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Development Tools 15 and 1 morelibarchive3.3.2-3.11.1SUSE-SU-2019:3093-1
openSUSELeap 15.0libarchive3.3.2-lp150.10.1openSUSE-SU-2019:2615-1
openSUSELeap 15.1libarchive3.3.2-lp151.5.3.1openSUSE-SU-2019:2632-1
openSUSETumbleweedbsdtar3.5.1-1.5openSUSE-SU-2024:10925-1
Alpinev3.7, v3.8, v3.9 and 1 morelibarchive3.3.3-r1ALPINE-CVE-2019-18408
Alpinev3.11, v3.12, v3.13 and 11 morelibarchive3.4.0-r0ALPINE-CVE-2019-18408

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue did not affect the versions of libarchive as shipped with Red Hat Enterprise Linux 6 as they did not include support for RAR archives.

Red Hat's mitigation

No known mitigation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libarchive-0:3.1.2-14.el7_7Fixed 2020-01-22RHSA-2020:0203
Red Hat Enterprise Linux 8libarchive-0:3.3.2-8.el8_1Fixed 2020-01-29RHSA-2020:0271
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionslibarchive-0:3.3.2-4.el8_0Fixed 2020-01-27RHSA-2020:0246
Red Hat Enterprise Linux 6libarchiveNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-18408.

References

Check your stackJSON