Skip to content
Fencer Vulns
medium 5.5

CVE-2019-19221 json

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 mbtow…

published 2019-11-21 6 y ago modified 2026-06-17 4 mo ago also EUVD-2019-8847

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 51%
public exploits
0
none known

Summary

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.

Patch / fix

  • libarchive Debian 14, Debian 13, Debian 12 3.4.2-1

debian advisories DEBIAN-CVE-2019-19221

  • libarchive Ubuntu 16.04 LTS 3.1.2-11ubuntu0.16.04.8
  • libarchive Ubuntu 18.04 LTS 3.2.2-3.1ubuntu0.6
  • libarchive Ubuntu 20.04 LTS 3.4.0-1ubuntu2
  • libarchive Ubuntu Pro 14.04 LTS 3.1.2-7ubuntu2.8+esm4

ubuntu advisories UBUNTU-CVE-2019-19221

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-9.el8
  • bsdtar RHEL 8 3.3.2-9.el8

red hat advisories RHSA-2020:4443

  • libarchive SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.3.3-32.5.1

suse advisories SUSE-SU-2021:3722-1

  • bsdtar openSUSE Tumbleweed 3.5.1-1.5

opensuse advisories openSUSE-SU-2024:10925-1

  • libarchive Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 3.4.2-r0

alpine advisories ALPINE-CVE-2019-19221

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor 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-19221 updated cvss 6.5

libarchive: out-of-bounds read in archive_wstring_append_from_mbs in archive_string.c

  • Red Hat Enterprise Linux 6 libarchive
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 bsdtar, bsdcpio, libarchive
    affected: no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder (v. 8) bsdcat-debuginfo 3.3.2-9.el8, bsdtar-debuginfo 3.3.2-9.el8, libarchive-devel 3.3.2-9.el8, bsdcpio-debuginfo 3.3.2-9.el8, libarchive-debuginfo 3.3.2-9.el8, libarchive-debugsource 3.3.2-9.el8 Red Hat Enterprise Linux BaseOS (v. 8) bsdtar 3.3.2-9.el8, libarchive 3.3.2-9.el8
    fixed: vendor fix RHSA-2020:4443

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

0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/libarchive/libarchive/issues/1276 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns 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.