Out-of-bounds Read in Libarchive
CVE-2019-19221
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.007 (49.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 49.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: -0.000
Affected products
- Libarchive — versions 3.4.0
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.10
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 32
Weakness classification (CWE)
References
- github.com/libarchive/libarchive/issues/1276 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41 (Patch, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- usn.ubuntu.com/4293-1/ (vendor-advisory, Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/04/msg00020.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/11/msg00030.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-19221?
- CVE-2019-19221 is a medium-severity vulnerability in Libarchive, classified under Out-of-bounds Read. CVSS score: 5.5/10. Published 2019-11-21.
- How severe is CVE-2019-19221?
- Medium severity. CVSS v3 base score is 5.5 out of 10.