
CVE catalog
CVE-2019-19221
libarchive vulnerabilities
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.66% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libarchive | sid | 3.8.10-2 | fixed |
| Debian | libarchive | forky | 3.8.9-1 | fixed |
| Debian | libarchive | trixie | 3.7.4-4+deb13u1 | fixed |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | fixed |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | fixed |
| Ubuntu | libarchive | noble | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive-dev | noble | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive-tools | noble | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive13t64 | noble | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive | noble | 3.4.2-1 | fixed |
| Alpine | libarchive | 3.13 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.14 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.15 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.16 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.17 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.18 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.19 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.20 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.21 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.22 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.23 | 3.4.2-r0 | fixed |
| Alpine | libarchive | 3.24 | 3.4.2-r0 | fixed |
| Ubuntu | libarchive | pro | 3.4.0-1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-1build1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.3 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.4 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5+esm1 | fixed |
| Ubuntu | libarchive | 22.04 | 3.4.3-2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.4.3-2build1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.3 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.4 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.5 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.6 | fixed |
| Ubuntu | libarchive | 24.04 | 3.6.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1.1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2.2 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu3 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu3.1 | fixed |
| Ubuntu | libarchive | pro | 3.1.2-5ubuntu1 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu1 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.2 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.3 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.4 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.6 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.7 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.8 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.8+esm1 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.8+esm3 | vulnerable |
| Ubuntu | libarchive | pro | 3.1.2-7ubuntu2.8+esm4 | fixed |
| Ubuntu | libarchive | 16.04 | 3.1.2-11build1 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.3 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.4 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.5 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.6 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.7 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.8 | fixed |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.6 | fixed |
| Ubuntu | libarchive | 20.04 | 3.4.0-1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1build1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1ubuntu2 | fixed |
| Ubuntu | libarchive | 16.04 | 3.1.2-11build1 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.3 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.4 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.5 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.6 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.7 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.8 | fixed |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | 18.04 | 3.2.2-3.1ubuntu0.6 | fixed |
| Suse | libarchive | linux enterprise software development kit 12 sp5 | 3.3.3-32.5.1 | fixed |
| Suse | libarchive | linux enterprise server 12 sp5 | 3.3.3-32.5.1 | fixed |
| Suse | libarchive | linux enterprise server for sap applications 12 sp5 | 3.3.3-32.5.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.4.2-1 | not yet assigned | Not reported | [945287] |
| Debian | libarchive | source | forky | 3.4.2-1 | not yet assigned | Not reported | [945287] |
| Debian | libarchive | source | trixie | 3.4.2-1 | not yet assigned | Not reported | [945287] |
| Debian | libarchive | source | bookworm | 3.4.2-1 | not yet assigned | Not reported | [945287] |
| Ubuntu | libarchive | deb | noble | 3.7.2-2ubuntu0.6 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-dev | deb | noble | 3.7.2-2ubuntu0.6 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-tools | deb | noble | 3.7.2-2ubuntu0.6 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive13t64 | deb | noble | 3.7.2-2ubuntu0.6 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive | deb | noble | 3.4.2-1 | Not reported | Not reported | Not reported |
| Alpine | libarchive | apk | 3.13 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.14 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.15 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.16 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.17 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.18 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.19 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.20 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.21 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.22 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.23 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Alpine | libarchive | apk | 3.24 | 3.4.2-r0 | Not reported | ALPINE-CVE-2019-19221 | Not reported |
| Ubuntu | libarchive | deb | pro | 3.4.0-2ubuntu1.5+esm1 | Not reported | USN-8147-1 | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.6.0-1ubuntu1.6 | Not reported | USN-8147-1 | Not reported |
| Ubuntu | libarchive | deb | 24.04 | 3.7.2-2ubuntu0.6 | Not reported | USN-8147-1 | Not reported |
| Ubuntu | libarchive | deb | 25.10 | 3.7.7-0ubuntu3.1 | Not reported | USN-8147-1 | Not reported |
| Ubuntu | libarchive | deb | pro | 3.1.2-7ubuntu2.8+esm4 | Not reported | UBUNTU-CVE-2019-19221 | Not reported |
| Ubuntu | libarchive | deb | 16.04 | 3.1.2-11ubuntu0.16.04.8 | Not reported | UBUNTU-CVE-2019-19221 | Not reported |
| Ubuntu | libarchive | deb | 18.04 | 3.2.2-3.1ubuntu0.6 | Not reported | UBUNTU-CVE-2019-19221 | Not reported |
| Ubuntu | libarchive | deb | 20.04 | 3.4.0-1ubuntu2 | Not reported | UBUNTU-CVE-2019-19221 | Not reported |
| Ubuntu | libarchive | deb | 16.04 | 3.1.2-11ubuntu0.16.04.8 | Not reported | USN-4293-1 | Not reported |
| Ubuntu | libarchive | deb | 18.04 | 3.2.2-3.1ubuntu0.6 | Not reported | USN-4293-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise software development kit 12 sp5 | 3.3.3-32.5.1 | Not reported | SUSE-SU-2021:3722-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise server 12 sp5 | 3.3.3-32.5.1 | Not reported | SUSE-SU-2021:3722-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise server for sap applications 12 sp5 | 3.3.3-32.5.1 | Not reported | SUSE-SU-2021:3722-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.4.2-1usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.4.2-1usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.4.2-1usn · libarchive · debian · 13
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.4.2-1usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.4.2-1usn · libarchive · debian · 13
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.4.2-1usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.4.2-1usn · libarchive · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2020:4443]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2020_4443.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2019-19221]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-19221]
- [https://osv.dev/vulnerability/DLA-2987-1]
- [https://osv.dev/vulnerability/DLA-3202-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3722-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-19221]
- [https://osv.dev/vulnerability/USN-4293-1]
- [https://osv.dev/vulnerability/USN-8147-1]
- [https://security-tracker.debian.org/tracker/CVE-2019-19221]
- [https://ubuntu.com/security/notices/USN-8147-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2019/wid-sec-w-2022-2148.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]