Vulnerabilities · 2019 · Libarchive
CVE-2019-19221
Libarchive vulnerability
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.
Affected products
Libarchive, Debian Linux, Fedora, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libarchive runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41 · Patch
- usn.ubuntu.com/4293-1/ · Patch
- github.com/libarchive/libarchive/issues/1276 · Exploit
- lists.debian.org/debian-lts-announce/2022/04/msg00020.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/11/msg00030.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R
- nvd.nist.gov/vuln/detail/CVE-2019-19221
- cve.org/CVERecord?id=CVE-2019-19221
More vulnerabilities in Libarchive products
CVE-2025-60753CVE-2025-25724CVE-2025-5918CVE-2025-5917CVE-2025-5916CVE-2025-5915CVE-2025-5914CVE-2025-1632All 72
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.