CVEfocus › CVE database › CVE-2019-19221

CVE-2019-19221

EPSS 0.7% (higher than 52% of CVEs)Published 2019-11-21Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
1Fix pending
6Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04libarchiveFixed3.4.0-1ubuntu2UBUNTU-CVE-2019-19221
Ubuntu 18.04libarchiveFixed3.2.2-3.1ubuntu0.6UBUNTU-CVE-2019-19221
Ubuntu 16.04libarchiveFixed3.1.2-11ubuntu0.16.04.8UBUNTU-CVE-2019-19221
Ubuntu 14.04libarchiveFix pending3.1.2-7ubuntu2.8+esm4 (Ubuntu Pro)UBUNTU-CVE-2019-19221
Debian 14libarchiveFixed3.4.2-1DEBIAN-CVE-2019-19221
Debian 13libarchiveFixed3.4.2-1DEBIAN-CVE-2019-19221
Debian 12libarchiveFixed3.4.2-1DEBIAN-CVE-2019-19221
Red Hat Enterprise Linux 8bsdtarFixed0:3.3.2-9.el8RHSA-2020:4443
Red Hat Enterprise Linux 8libarchiveFixed0:3.3.2-9.el8RHSA-2020:4443
Red Hat Enterprise Linux 8libarchive-develFixed0:3.3.2-9.el8RHSA-2020:4443
Red Hat Enterprise Linux 7bsdcpioWill not fix
Will not fix
Red Hat Enterprise Linux 7bsdtarWill not fix
Will not fix
Red Hat Enterprise Linux 7libarchiveWill not fix
Will not fix
Red Hat Enterprise Linux 7libarchive-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchive-develWill not fix
Out of support scope
AlmaLinux 8libarchive-develFixed3.3.2-9.el8ALSA-2020:4443
Alpine Linux 3.24libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.23libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.22libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.21libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.20libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.19libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.18libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.17libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.16libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.15libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.14libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221
Alpine Linux 3.13libarchiveFixed3.4.2-r0ALPINE-CVE-2019-19221

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.