CVE-2019-19221
publishedlibarchive: out-of-bounds read in archive_wstring_append_from_mbs in archive_string.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| AlmaLinux | 8 | libarchive-devel | Advisory build | 3.3.2-9.el8 | ALSA-2020:4443 |
| Alpine Linux | edge | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Debian | buster | libarchive | Advisory build | 3.3.3-4+deb10u2 | DLA-3202-1 |
| Oracle Linux | 8 | bsdtaraarch64 | Advisory build | 0:3.3.2-9.el8 | ELSA-2020-4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfoaarch64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| SUSE / openSUSE | SLE-12-SP5 | libarchive-develaarch64 | Advisory build | 3.3.3-32.5.1 | SUSE-SU-2021:3722-1 |
| Ubuntu | bionic | bsdcpio | Advisory build | 3.2.2-3.1ubuntu0.6 | USN-4293-1 |
Show 87 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.14 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.15 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.16 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.17 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.18 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.19 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.20 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.21 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.22 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.23 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.24 | libarchive | Fixed | 3.4.2-r0 | Package fix record |
| Debian | stretch | libarchive | Advisory build | 3.2.2-2+deb9u3 | DLA-2987-1 |
| Oracle Linux | 8 | bsdtarx86_64 | Advisory build | 0:3.3.2-9.el8 | ELSA-2020-4443 |
| Oracle Linux | 8 | libarchiveaarch64 | Advisory build | 0:3.3.2-9.el8 | ELSA-2020-4443 |
| Oracle Linux | 8 | libarchivex86_64 | Advisory build | 0:3.3.2-9.el8 | ELSA-2020-4443 |
| Oracle Linux | 8 | libarchive-develaarch64 | Advisory build | 0:3.3.2-9.el8 | ELSA-2020-4443 |
| Oracle Linux | 8 | libarchive-develx86_64 | Advisory build | 0:3.3.2-9.el8 | ELSA-2020-4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfoi686 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfoppc64le | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfos390x | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfox86_64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfoaarch64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfoi686 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfoppc64le | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfos390x | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfox86_64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtaraarch64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtarppc64le | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtars390x | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtarx86_64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfoaarch64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfoi686 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfoppc64le | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfos390x | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfox86_64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchiveaarch64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchivei686 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchiveppc64le | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchives390x | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchivesrc | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchivex86_64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfoaarch64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfoi686 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfoppc64le | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfos390x | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfox86_64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsourceaarch64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsourcei686 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsourceppc64le | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsources390x | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsourcex86_64 | Advisory build | 3.3.2-9.el8 | RHSA-2020:4443 |
| SUSE / openSUSE | SLE-12-SP5 | libarchive-develppc64le | Advisory build | 3.3.3-32.5.1 | SUSE-SU-2021:3722-1 |
| SUSE / openSUSE | SLE-12-SP5 | libarchive-devels390x | Advisory build | 3.3.3-32.5.1 | SUSE-SU-2021:3722-1 |
| SUSE / openSUSE | SLE-12-SP5 | libarchive-develx86_64 | Advisory build | 3.3.3-32.5.1 | SUSE-SU-2021:3722-1 |
| SUSE / openSUSE | SLE-12-SP5 | libarchive13aarch64 | Advisory build | 3.3.3-32.5.1 | SUSE-SU-2021:3722-1 |
| SUSE / openSUSE | SLE-12-SP5 | libarchive13ppc64le | Advisory build | 3.3.3-32.5.1 | SUSE-SU-2021:3722-1 |
| SUSE / openSUSE | SLE-12-SP5 | libarchive13s390x | Advisory build | 3.3.3-32.5.1 | SUSE-SU-2021:3722-1 |
| SUSE / openSUSE | SLE-12-SP5 | libarchive13x86_64 | Advisory build | 3.3.3-32.5.1 | SUSE-SU-2021:3722-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtaraarch64 | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtarppc64le | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtars390x | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtarx86_64 | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develaarch64 | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develppc64le | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-devels390x | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develx86_64 | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13aarch64 | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13ppc64le | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13s390x | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13x86_64 | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitaarch64 | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitppc64le | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bits390x | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitx86_64 | Advisory build | 3.5.1-1.5 | OPENSUSE-SU-2024:10925-1 |
| Ubuntu | bionic | bsdtar | Advisory build | 3.2.2-3.1ubuntu0.6 | USN-4293-1 |
| Ubuntu | bionic | libarchive | Advisory build | 3.2.2-3.1ubuntu0.6 | USN-4293-1 |
| Ubuntu | bionic | libarchive-tools | Advisory build | 3.2.2-3.1ubuntu0.6 | USN-4293-1 |
| Ubuntu | bionic | libarchive13 | Advisory build | 3.2.2-3.1ubuntu0.6 | USN-4293-1 |
| Ubuntu | trusty | bsdcpio | Advisory build | 3.1.2-7ubuntu2.8+esm4 | USN-8147-1 |
| Ubuntu | trusty | bsdtar | Advisory build | 3.1.2-7ubuntu2.8+esm4 | USN-8147-1 |
| Ubuntu | trusty | libarchive | Advisory build | 3.1.2-7ubuntu2.8+esm4 | USN-8147-1 |
| Ubuntu | trusty | libarchive13 | Advisory build | 3.1.2-7ubuntu2.8+esm4 | USN-8147-1 |
| Ubuntu | xenial | bsdcpio | Advisory build | 3.1.2-11ubuntu0.16.04.8 | USN-4293-1 |
| Ubuntu | xenial | bsdtar | Advisory build | 3.1.2-11ubuntu0.16.04.8 | USN-4293-1 |
| Ubuntu | xenial | libarchive | Advisory build | 3.1.2-11ubuntu0.16.04.8 | USN-4293-1 |
| Ubuntu | xenial | libarchive13 | Advisory build | 3.1.2-11ubuntu0.16.04.8 | USN-4293-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41
- https://github.com/libarchive/libarchive/issues/1276
- [debian-lts-announce] 20220430 [SECURITY] [DLA 2987-1] libarchive security update https://lists.debian.org/debian-lts-announce/2022/04/msg00020.html
- [debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
- FEDORA-2020-235688c222 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RHFV25AVTASTWZRF3KTSL357AQ6TYHM4/
- USN-4293-1 https://usn.ubuntu.com/4293-1/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8b82f04a337267bfabe949f67829f1b04164282d98c31ba1eb9b4123eae19b81
- Ingested
- 23 Sep 2026, 07:46:27 UTC
- Source record
- Official CVE record