{"id":"CVE-2019-19221","aliases":["ALPINE-CVE-2019-19221","ALSA-2020:4443","BELL-CVE-2019-19221","DEBIAN-CVE-2019-19221","DLA-2987-1","DLA-3202-1","EUVD-2019-8847","GHSA-m55v-6hqc-x3jh","MGASA-2020-0127","RHSA-2020:4443","SUSE-SU-2021:3722-1","UBUNTU-CVE-2019-19221","UBUNTU-CVE-2020-9308","USN-4293-1","USN-8147-1","openSUSE-SU-2024:10925-1"],"status":"published","title":"In Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c has an out-of-bounds...","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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00656,"percentile":0.51688,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2019-11-21T00:00:00Z","modified":"2026-10-29T11:00:17Z","fixes":[{"ecosystem":"Alpine:v3.13","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"libarchive","fixed_in":["3.4.2-r0"],"sources":["osv"]},{"ecosystem":"AlmaLinux:8","package":"libarchive-devel","fixed_in":["3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libarchive","fixed_in":["3.4.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libarchive","fixed_in":["3.4.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libarchive","fixed_in":["3.4.2-1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"bsdcat-debuginfo","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"bsdcpio-debuginfo","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"bsdtar","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"bsdtar-debuginfo","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"libarchive","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"libarchive-debuginfo","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"libarchive-debugsource","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::crb","package":"bsdcat-debuginfo","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::crb","package":"bsdcpio-debuginfo","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::crb","package":"bsdtar-debuginfo","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::crb","package":"libarchive-debuginfo","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::crb","package":"libarchive-debugsource","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::crb","package":"libarchive-devel","fixed_in":["0:3.3.2-9.el8"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"libarchive","fixed_in":["3.3.3-32.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"libarchive","fixed_in":["3.3.3-32.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"libarchive","fixed_in":["3.3.3-32.5.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libarchive","fixed_in":["3.1.2-7ubuntu2.8+esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libarchive","fixed_in":["3.1.2-11ubuntu0.16.04.8"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"libarchive","fixed_in":["3.2.2-3.1ubuntu0.6"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"libarchive","fixed_in":["3.4.0-1ubuntu2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libarchive","fixed_in":["3.1.2-11ubuntu0.16.04.8+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libarchive","fixed_in":["3.2.2-3.1ubuntu0.7+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libarchive","fixed_in":["3.4.0-2ubuntu1.5+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"libarchive","fixed_in":["3.6.0-1ubuntu1.6"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"libarchive","fixed_in":["3.7.2-2ubuntu0.6"],"sources":["osv"]},{"ecosystem":"Ubuntu:25.10","package":"libarchive","fixed_in":["3.7.7-0ubuntu3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.13","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}]},{"source":"osv","ecosystem":"AlmaLinux:8","package":"libarchive-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-2+deb9u3"}]}],"versions":["3.2.2-2","3.2.2-2+deb9u1","3.2.2-2+deb9u2"],"bundled":3},{"source":"osv","ecosystem":"Debian:10","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.3-4+deb10u2"}]}],"versions":["3.3.3-4","3.3.3-4+deb10u1"],"bundled":3},{"source":"osv","ecosystem":"Mageia:7","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0-1.1.mga7"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"bsdcat-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"bsdcpio-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"bsdtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"bsdtar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"libarchive-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"libarchive-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"bsdcat-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"bsdcpio-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"bsdtar-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"libarchive-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"libarchive-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"libarchive-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.2-9.el8"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.3-32.5.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.3-32.5.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.3-32.5.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-7ubuntu2.8+esm4"}]}],"versions":["3.1.2-5ubuntu1","3.1.2-7ubuntu1","3.1.2-7ubuntu2","3.1.2-7ubuntu2.1","3.1.2-7ubuntu2.2","3.1.2-7ubuntu2.3","3.1.2-7ubuntu2.4","3.1.2-7ubuntu2.6","3.1.2-7ubuntu2.7","3.1.2-7ubuntu2.8","3.1.2-7ubuntu2.8+esm1","3.1.2-7ubuntu2.8+esm3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.8"}]}],"versions":["3.1.2-11build1","3.1.2-11ubuntu0.16.04.1","3.1.2-11ubuntu0.16.04.2","3.1.2-11ubuntu0.16.04.3","3.1.2-11ubuntu0.16.04.4","3.1.2-11ubuntu0.16.04.5","3.1.2-11ubuntu0.16.04.6","3.1.2-11ubuntu0.16.04.7"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-3.1ubuntu0.6"}]}],"versions":["3.2.2-3.1","3.2.2-3.1ubuntu0.1","3.2.2-3.1ubuntu0.2","3.2.2-3.1ubuntu0.3","3.2.2-3.1ubuntu0.4","3.2.2-3.1ubuntu0.5"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0-1ubuntu2"}]}],"versions":["3.4.0-1","3.4.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.8"}]}],"versions":["3.1.2-11build1","3.1.2-11ubuntu0.16.04.1","3.1.2-11ubuntu0.16.04.2","3.1.2-11ubuntu0.16.04.3","3.1.2-11ubuntu0.16.04.4","3.1.2-11ubuntu0.16.04.5","3.1.2-11ubuntu0.16.04.6","3.1.2-11ubuntu0.16.04.7"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-3.1ubuntu0.6"}]}],"versions":["3.2.2-3.1","3.2.2-3.1ubuntu0.1","3.2.2-3.1ubuntu0.2","3.2.2-3.1ubuntu0.3","3.2.2-3.1ubuntu0.4","3.2.2-3.1ubuntu0.5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-7ubuntu2.8+esm4"}]}],"versions":["3.1.2-5ubuntu1","3.1.2-7ubuntu1","3.1.2-7ubuntu2","3.1.2-7ubuntu2.1","3.1.2-7ubuntu2.2","3.1.2-7ubuntu2.3","3.1.2-7ubuntu2.4","3.1.2-7ubuntu2.6","3.1.2-7ubuntu2.7","3.1.2-7ubuntu2.8","3.1.2-7ubuntu2.8+esm1","3.1.2-7ubuntu2.8+esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.8+esm2"}]}],"versions":["3.1.2-11build1","3.1.2-11ubuntu0.16.04.1","3.1.2-11ubuntu0.16.04.2","3.1.2-11ubuntu0.16.04.3","3.1.2-11ubuntu0.16.04.4","3.1.2-11ubuntu0.16.04.5","3.1.2-11ubuntu0.16.04.6","3.1.2-11ubuntu0.16.04.7","3.1.2-11ubuntu0.16.04.8","3.1.2-11ubuntu0.16.04.8+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-3.1ubuntu0.7+esm2"}]}],"versions":["3.2.2-3.1","3.2.2-3.1ubuntu0.1","3.2.2-3.1ubuntu0.2","3.2.2-3.1ubuntu0.3","3.2.2-3.1ubuntu0.4","3.2.2-3.1ubuntu0.5","3.2.2-3.1ubuntu0.6","3.2.2-3.1ubuntu0.7","3.2.2-3.1ubuntu0.7+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0-2ubuntu1.5+esm1"}]}],"versions":["3.4.0-1","3.4.0-1build1","3.4.0-1ubuntu2","3.4.0-2ubuntu1","3.4.0-2ubuntu1.1","3.4.0-2ubuntu1.2","3.4.0-2ubuntu1.3","3.4.0-2ubuntu1.4","3.4.0-2ubuntu1.5"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.0-1ubuntu1.6"}]}],"versions":["3.4.3-2","3.4.3-2build1","3.5.2-1","3.5.2-1ubuntu1","3.6.0-1ubuntu1","3.6.0-1ubuntu1.1","3.6.0-1ubuntu1.2","3.6.0-1ubuntu1.3","3.6.0-1ubuntu1.4","3.6.0-1ubuntu1.5"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.2-2ubuntu0.6"}]}],"versions":["3.6.2-1ubuntu1","3.7.2-1ubuntu1","3.7.2-1ubuntu2","3.7.2-1.1ubuntu2","3.7.2-2","3.7.2-2ubuntu0.1","3.7.2-2ubuntu0.2","3.7.2-2ubuntu0.3","3.7.2-2ubuntu0.4","3.7.2-2ubuntu0.5"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.7-0ubuntu3.1"}]}],"versions":["3.7.7-0ubuntu2","3.7.7-0ubuntu2.1","3.7.7-0ubuntu2.2","3.7.7-0ubuntu3"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"bsdtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.1-1.5"}]}],"bundled":12}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"libarchive","product":"libarchive"}],"references":[{"url":"https://github.com/libarchive/libarchive/issues/1276","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RHFV25AVTASTWZRF3KTSL357AQ6TYHM4/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4293-1/","tags":["vendor-advisory","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00020.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19221","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RHFV25AVTASTWZRF3KTSL357AQ6TYHM4/"},{"url":"https://github.com/advisories/GHSA-m55v-6hqc-x3jh"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-19221","tags":["advisory"]},{"url":"https://vulners.com/cve/CVE-2019-19221","tags":["report"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2019-19221","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-19221","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2020-0127.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=26290","tags":["report"]},{"url":"https://access.redhat.com/errata/RHSA-2020:4443","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1801635","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4443.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-19221","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19221","tags":["advisory","report"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20213722-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1157569","tags":["report"]},{"url":"https://bugzilla.suse.com/1192425","tags":["report"]},{"url":"https://bugzilla.suse.com/1192426","tags":["report"]},{"url":"https://bugzilla.suse.com/1192427","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-19221","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2019-19221","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4293-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8147-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-9308","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-20696","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2025-5914","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2025-5916","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2025-5917","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2025-5918","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2025-25724","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2025-60753","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-4111","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2006-5680","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-3641","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14166","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14501","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000877","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000878","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000879","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000880","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1000019","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1000020","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-18408","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-19221","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.","status":"published","published":"2019-11-21T00:00:00Z","modified":"2024-08-05T02:09:39.58Z","updated_at":"2026-11-02T14:20:20.74896Z"}],"euvd":[{"id":"EUVD-2019-8847","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.","status":"published","published":"2019-11-21T00:00:00Z","modified":"2024-08-05T02:09:39Z","updated_at":"2026-11-03T02:40:26.287407Z"}],"ghsa":[{"id":"GHSA-m55v-6hqc-x3jh","title":"In Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c has an out-of-bounds...","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.","status":"published","published":"2022-05-24T17:01:49Z","modified":"2023-02-02T05:04:03Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:51:46.878809Z"}],"nvd":[{"id":"CVE-2019-19221","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.","status":"published","published":"2019-11-21T23:15:13.887Z","modified":"2026-06-17T02:26:18.91Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:05:37.024431Z"}],"osv":[{"id":"ALPINE-CVE-2019-19221","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.","status":"published","published":"2019-11-21T23:15:13.887Z","modified":"2026-09-21T06:17:52.507042038Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:27:47.663013Z"},{"id":"BELL-CVE-2019-19221","title":"CVE-2019-19221 does not affect BellSoft software","status":"withdrawn","published":"2019-11-21T23:15:00Z","modified":"2026-01-26T09:49:03.636864Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:15.340685Z"},{"id":"CVE-2019-19221","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.","status":"published","published":"2019-11-21T23:15:13.887Z","modified":"2026-10-20T13:46:43.194660382Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:12.010761Z"},{"id":"DEBIAN-CVE-2019-19221","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.","status":"published","published":"2019-11-21T23:15:13.887Z","modified":"2026-09-21T07:03:16.727205558Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:31.867036Z"},{"id":"RHSA-2020:4443","title":"Red Hat Security Advisory: libarchive security update","status":"published","published":"2024-09-16T03:52:31Z","modified":"2026-06-26T12:22:08.941380848Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:07.57369Z"},{"id":"UBUNTU-CVE-2019-19221","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.","status":"published","published":"2019-11-21T23:15:00Z","modified":"2026-04-22T12:15:03.572078Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:20.325378Z"},{"id":"ALSA-2020:4443","title":"Moderate: libarchive security update","description":"The libarchive programming library can create and read several different streaming archive formats, including GNU tar, cpio, and ISO 9660 CD-ROM images. Libarchive is used notably in the bsdtar utility, scripting language bindings such as python-libarchive, and several popular desktop file managers.\n\nSecurity Fix(es):\n\n* libarchive: out-of-bounds read in archive_wstring_append_from_mbs in archive_string.c (CVE-2019-19221)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2020-11-03T12:05:06Z","modified":"2026-10-29T11:00:17.214130389Z","updated_at":"2026-11-02T15:27:51.196609Z"},{"id":"DLA-2987-1","title":"libarchive - security update","status":"published","published":"2022-04-30T00:00:00Z","modified":"2026-03-09T01:19:07.80559Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DLA-3202-1","title":"libarchive - security update","status":"published","published":"2022-11-22T00:00:00Z","modified":"2026-03-09T01:21:06.828722Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"MGASA-2020-0127","title":"Updated libarchive packages fix security vulnerabilities","description":"The updated packages fix several issues including security vulnerabilities:\n\nIn Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c\nhas an out-of-bounds read because of an incorrect mbrtowc or mbtowc call.\nFor example, bsdtar crashes via a crafted archive. (CVE-2019-19221)\n\narchive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to\nunpack a RAR5 file with an invalid or corrupted header (such as a header\nsize of zero), leading to a SIGSEGV or possibly unspecified other impact.\n(CVE-2020-9308)\n","status":"published","published":"2020-03-06T16:13:58Z","modified":"2026-04-16T04:44:06.092762373Z","updated_at":"2026-11-02T15:49:41.151324Z"},{"id":"openSUSE-SU-2024:10925-1","title":"bsdtar-3.5.1-1.5 on GA media","description":"These are all security issues fixed in the bsdtar-3.5.1-1.5 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:39:18.303089Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2021:3722-1","title":"Security update for libarchive","description":"This update for libarchive fixes the following issues:\n\n- CVE-2019-19221: Fixed out-of-bounds read caused by incorrect mbrtowc or mbtowc call (bsc#1157569)\n\n- backporting symlink security fixes from 3.5.2:\n  - extracting with ACLs modifies ACLs of target (bsc#1192425)\n  - modifies file flags of target (bsc#1192426)\n  - avoid follow on fixup entries (bsc#1192427)\n","status":"published","published":"2021-11-17T09:31:03Z","modified":"2026-02-04T04:37:34.745108Z","updated_at":"2026-11-02T15:53:49.605187Z"},{"id":"USN-4293-1","title":"libarchive vulnerabilities","description":"It was discovered that libarchive incorrectly handled certain archive files.\nAn attacker could possibly use this issue to access sensitive information.\n(CVE-2019-19221)\n\nIt was discovered that libarchive incorrectly handled certain archive files.\nAn attacker could possibly use this issue to cause a crash resulting in a denial\nof service or possibly unspecified other impact. This issue only affected Ubuntu 19.10.\n(CVE-2020-9308)\n","status":"published","published":"2020-03-02T13:58:55Z","modified":"2026-04-22T10:03:04.734853Z","updated_at":"2026-11-02T16:58:14.547547Z"},{"id":"USN-8147-1","title":"libarchive vulnerabilities","description":"It was discovered that libarchive incorrectly handled certain archive\nfiles. An attacker could possibly use this issue to access sensitive\ninformation. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-19221)\n\nIt was discovered that libarchive incorrectly handled certain RAR archive\nfiles. If a user or automated system were tricked into processing a\nspecially crafted RAR archive, an attacker could possibly use this issue to\ncause libarchive to crash, resulting in a denial of service, or execute\narbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS\nand Ubuntu 18.04 LTS. (CVE-2024-20696)\n\nIt was discovered that libarchive incorrectly handled certain RAR archive\nfiles. An attacker could possibly use this issue to execute arbitrary code\nor cause a denial of service. This issue only affected Ubuntu 14.04 LTS,\nUbuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2025-5914)\n\nIt was discovered that libarchive incorrectly handled certain WARC archive\nfiles. If a user or automated system were tricked into processing a\nspecially crafted WARC archive, an attacker could possibly use this issue\nto cause libarchive to crash, resulting in a denial of service. This issue\nonly affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2025-5916)\n\nIt was discovered that libarchive incorrectly handled certain file names\nwhen handling prefixes and suffixes. An attacker could possibly use this\nissue to cause libarchive to crash, resulting in a denial of service. This\nissue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS\nand Ubuntu 20.04 LTS. (CVE-2025-5917)\n\nIt was discovered that libarchive could read past the end of file streams\nwhen processing input to bsdtar. An attacker could possibly use this issue\nto cause memory corruption or a denial of service. (CVE-2025-5918)\n\nIt was discovered that libarchive incorrectly handled certain TAR archive\nfiles. If a user or automated system were tricked into processing a\nspecially crafted TAR archive, an attacker could possibly use this issue to\ncause libarchive to crash, resulting in a denial of service, or execute\narbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS\nand Ubuntu 18.04 LTS. (CVE-2025-25724)\n\nHyungJung Joo discovered that libarchive did not properly limit memory\nallocation when processing substitution rules in bsdtar. An attacker could\npossibly use this issue to cause excessive memory consumption, leading to a\ndenial of service. (CVE-2025-60753)\n\nElhanan Haenel discovered that libarchive could enter an infinite loop when\nprocessing crafted RAR5 archives. An attacker could possibly use this issue\nto cause excessive CPU consumption, leading to a denial of service. This\nissue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS\nand Ubuntu 25.10. (CVE-2026-4111)","status":"published","published":"2026-04-02T18:23:39Z","modified":"2026-06-25T13:32:31.93009428Z","updated_at":"2026-11-02T16:58:22.951676Z"}]}}
