cve.bz

CVE-2019-19221 Out-of-bounds Read

5.5 mediumExploit referenceEPSS 0.7%Fix available

Medium (5.5). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
In Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c has an out-of-bounds read because of an incorrect mbrtowc or mbtowc call. For example, bsdtar crashes via a crafted archive.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
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-19221 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-19221?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-19221?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-19221 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:libarchive3.4.0
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora32
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libarchive3.2.2-2+deb9u3DLA-2987-1
Debian10libarchive3.3.3-4+deb10u2DLA-3202-1
Debian12, 13, 14libarchive3.4.2-1DEBIAN-CVE-2019-19221
Ubuntu16.04:LTSlibarchive3.1.2-11ubuntu0.16.04.8UBUNTU-CVE-2019-19221 USN-4293-1
Ubuntu18.04:LTSlibarchive3.2.2-3.1ubuntu0.6UBUNTU-CVE-2019-19221 USN-4293-1
Ubuntu20.04:LTSlibarchive3.4.0-1ubuntu2UBUNTU-CVE-2019-19221
UbuntuPro:14.04:LTSlibarchive3.1.2-7ubuntu2.8+esm4UBUNTU-CVE-2019-19221
Red Hatenterprise_linux:8::baseosbsdtar, libarchive, bsdcat-debuginfo and 4 more0:3.3.2-9.el8RHSA-2020:4443
Red Hatenterprise_linux:8::crbbsdcat-debuginfo, bsdtar-debuginfo, libarchive-devel and 3 more0:3.3.2-9.el8RHSA-2020:4443
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libarchive3.3.3-32.5.1SUSE-SU-2021:3722-1
openSUSETumbleweedbsdtar3.5.1-1.5openSUSE-SU-2024:10925-1
AlmaLinux8libarchive-devel3.3.2-9.el8ALSA-2020:4443
Alpinev3.13, v3.14, v3.15 and 9 morelibarchive3.4.2-r0ALPINE-CVE-2019-19221

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; AlmaLinux's OSV database, MIT; 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 Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libarchive-0:3.3.2-9.el8Fixed 2020-11-04RHSA-2020:4443
Red Hat Enterprise Linux 6libarchiveOut of support scope
Red Hat Enterprise Linux 7libarchiveWill not fix

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-19221.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON