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.
CPE | Name | Operator | Version |
---|---|---|---|
ubuntu_linux | eq | 18.04 | |
ubuntu_linux | eq | 19.10 | |
ubuntu_linux | eq | 16.04 | |
debian_linux | eq | 9.0 | |
debian_linux | eq | 10.0 | |
fedora | eq | 32 | |
libarchive | eq | 3.4.0 |
github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41
github.com/libarchive/libarchive/issues/1276
lists.debian.org/debian-lts-announce/2022/04/msg00020.html
lists.debian.org/debian-lts-announce/2022/11/msg00030.html
lists.fedoraproject.org/archives/list/[email protected]/message/RHFV25AVTASTWZRF3KTSL357AQ6TYHM4/
usn.ubuntu.com/4293-1/