# CVE-2019-18408: bsdtar: The libarchive programming library can create and read several different streaming archive formats, including GNU tar...

CVE-2019-18408 is fixed in 6 products on 1 platform, first by bsdcpio 3.2.2-3.1ubuntu0.5, released October 24, 2019. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2019-18408
- Priority: High
- CVSS: 8.1 (Important)
- EPSS: 0.0404
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 24, 2019

## Description

The libarchive programming library can create and read several different streaming archive formats, including GNU tar, cpio, and ISO 9660 CD-ROM images. Libarchive is used notably in the bsdtar utility, scripting language bindings such as python-libarchive, and several popular desktop file managers.  Security Fix(es):  * libarchive: use-after-free in archive_read_format_rar_read_data when there is an error in the decompression of an archive entry (CVE-2019-18408)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bsdcpio Ubuntu 18.04.6 LTS (bionic) | 3.2.2-3.1ubuntu0.5 | [bsdcpio 3.2.2-3.1ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-bsdcpio-3.2.2-3.1ubuntu0.5.md) | Oct 24, 2019 |
| Linux | bsdtar RHEL 8 | 0:3.3.2-8.el8_1 | [RHSA-2020:0271](https://patchblox.com/security/data/fix/linux/rhsa-2020-0271.md) | Jan 29, 2020 |
| Linux | bsdtar Ubuntu 18.04.6 LTS (bionic) | 3.2.2-3.1ubuntu0.5 | [bsdtar 3.2.2-3.1ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-bsdtar-3.2.2-3.1ubuntu0.5.md) | Oct 24, 2019 |
| Linux | bsdtar ol 8 | 0:3.3.2-8.el8_1 | [ELSA-2020-0271](https://patchblox.com/security/data/fix/linux/elsa-2020-0271.md) | Jan 29, 2020 |
| Linux | libarchive RHEL 8 | 0:3.3.2-8.el8_1 | [RHSA-2020:0271](https://patchblox.com/security/data/fix/linux/rhsa-2020-0271.md) | Jan 29, 2020 |
| Linux | libarchive ol 8 | 0:3.3.2-8.el8_1 | [ELSA-2020-0271](https://patchblox.com/security/data/fix/linux/elsa-2020-0271.md) | Jan 29, 2020 |
| Linux | libarchive-devel RHEL 8 | 0:3.3.2-8.el8_1 | [RHSA-2020:0271](https://patchblox.com/security/data/fix/linux/rhsa-2020-0271.md) | Jan 29, 2020 |
| Linux | libarchive-devel ol 8 | 0:3.3.2-8.el8_1 | [ELSA-2020-0271](https://patchblox.com/security/data/fix/linux/elsa-2020-0271.md) | Jan 29, 2020 |
| Linux | libarchive-tools Ubuntu 18.04.6 LTS (bionic) | 3.2.2-3.1ubuntu0.5 | [libarchive-tools 3.2.2-3.1ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libarchive-tools-3.2.2-3.1ubuntu0.5.md) | Oct 24, 2019 |
| Linux | libarchive13 Ubuntu 18.04.6 LTS (bionic) | 3.2.2-3.1ubuntu0.5 | [libarchive13 3.2.2-3.1ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libarchive13-3.2.2-3.1ubuntu0.5.md) | Oct 24, 2019 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
