CVE-2019-19221
MEDIUMCVSS 5.5/10EPSS 0.66%
Last modified
CVE-2019-19221 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.66% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libarchive | Libarchive | 3.4.0 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 32 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 19.10 |
References
- https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/issues/1276Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/04/msg00020.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/4293-1/Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41Patch, Third Party Advisory
- https://github.com/libarchive/libarchive/issues/1276Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/04/msg00020.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/4293-1/Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2019-19221?
CVE-2019-19221 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.66% probability of exploitation in the next 30 days.
How do I fix CVE-2019-19221?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-19216BMC Control-M/Agent 7.0.00.000 has an Insecure File Copy.8.8
- CVE-2019-19217BMC Control-M/Agent 7.0.00.000 allows OS Command Injection.8.8
- CVE-2019-19218BMC Control-M/Agent 7.0.00.000 has Insecure Password Storage…7.5
- CVE-2019-19219BMC Control-M/Agent 7.0.00.000 allows Arbitrary File Downloa…7.5
- CVE-2019-1922A vulnerability in Cisco SIP IP Phone Software for Cisco IP …5.3
- CVE-2019-19220BMC Control-M/Agent 7.0.00.000 allows OS Command Injection (…8.8
- CVE-2019-19222A Stored XSS issue in the D-Link DSL-2680 web administration…5.4
- CVE-2019-19223A Broken Access Control vulnerability in the D-Link DSL-2680…7.5
- CVE-2019-19224A Broken Access Control vulnerability in the D-Link DSL-2680…7.5
- CVE-2019-19225A Broken Access Control vulnerability in the D-Link DSL-2680…7.5
- CVE-2019-19226A Broken Access Control vulnerability in the D-Link DSL-2680…7.5
- CVE-2019-19227In the AppleTalk subsystem in the Linux kernel before 5.1, t…5.5
Are you affected by CVE-2019-19221?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
