Libarchive · Libarchive · CVE-2019-19221
**Name of the Vulnerable Software and Affected Versions**
Libarchive version 3.4.0
**Description**
The issue is related to an out-of-bounds read in the `archive wstring append from mbs` function in `archive string.c`. This occurs due to an incorrect `mbrtowc` or `mbtowc` call. For example, `bsdtar` crashes when processing a crafted archive. The vulnerability may allow an attacker to read the contents of memory in the system using a specially crafted archive file.
**Recommendations**
For Libarchive version 3.4.0, consider updating to a newer version to mitigate the risk, as the current version has an out-of-bounds read issue in the `archive wstring append from mbs` function.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.