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

CVE-2022-36227 is fixed in 12 products on 1 platform, first by bsdcpio 3.2.2-3.1ubuntu0.7+esm1, released November 21, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-36227
- Priority: High
- CVSS: 9.8 (Low)
- EPSS: 0.0246
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 21, 2022

## 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: NULL pointer dereference in archive_write.c (CVE-2022-36227)  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.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.8 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bsdcat amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | bsdcat-debuginfo amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | bsdcpio Ubuntu 18.04.6 LTS (bionic) | 3.2.2-3.1ubuntu0.7+esm1 | [bsdcpio 3.2.2-3.1ubuntu0.7+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-bsdcpio-3.2.2-3.1ubuntu0.7-esm1.md) | Nov 21, 2022 |
| Linux | bsdcpio amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | bsdcpio-debuginfo amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | bsdtar RHEL 8 | 0:3.3.3-5.el8 | [RHSA-2023:3018](https://patchblox.com/security/data/fix/linux/rhsa-2023-3018.md) | May 16, 2023 |
| Linux | bsdtar RHEL 9 | 0:3.5.3-4.el9 | [RHSA-2023:2532](https://patchblox.com/security/data/fix/linux/rhsa-2023-2532.md) | May 9, 2023 |
| Linux | bsdtar Ubuntu 18.04.6 LTS (bionic) | 3.2.2-3.1ubuntu0.7+esm1 | [bsdtar 3.2.2-3.1ubuntu0.7+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-bsdtar-3.2.2-3.1ubuntu0.7-esm1.md) | Nov 21, 2022 |
| Linux | bsdtar almalinux 8 | 3.3.3-5.el8 | [ALSA-2023:3018](https://patchblox.com/security/data/fix/linux/alsa-2023-3018.md) | May 16, 2023 |
| Linux | bsdtar almalinux 9 | 3.5.3-4.el9 | [ALSA-2023:2532](https://patchblox.com/security/data/fix/linux/alsa-2023-2532.md) | May 9, 2023 |
| Linux | bsdtar amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | bsdtar ol 8 | 0:3.3.3-5.el8 | [ELSA-2023-3018](https://patchblox.com/security/data/fix/linux/elsa-2023-3018.md) | May 24, 2023 |
| Linux | bsdtar ol 9 | 0:3.5.3-4.el9 | [ELSA-2023-2532](https://patchblox.com/security/data/fix/linux/elsa-2023-2532.md) | May 15, 2023 |
| Linux | bsdtar-debuginfo amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | libarchive Debian 12.15 (bookworm) | 3.6.2-1 | [DEBIAN-CVE-2022-36227](https://patchblox.com/security/data/fix/linux/debian-cve-2022-36227.md) | Nov 22, 2022 |
| Linux | libarchive Debian 13.5 (trixie) | 3.6.2-1 | [DEBIAN-CVE-2022-36227](https://patchblox.com/security/data/fix/linux/debian-cve-2022-36227.md) | Nov 22, 2022 |
| Linux | libarchive Debian 14 | 3.6.2-1 | [DEBIAN-CVE-2022-36227](https://patchblox.com/security/data/fix/linux/debian-cve-2022-36227.md) | Nov 22, 2022 |
| Linux | libarchive RHEL 8 | 0:3.3.3-5.el8 | [RHSA-2023:3018](https://patchblox.com/security/data/fix/linux/rhsa-2023-3018.md) | May 16, 2023 |
| Linux | libarchive RHEL 9 | 0:3.5.3-4.el9 | [RHSA-2023:2532](https://patchblox.com/security/data/fix/linux/rhsa-2023-2532.md) | May 9, 2023 |
| Linux | libarchive almalinux 8 | 3.3.3-5.el8 | [ALSA-2023:3018](https://patchblox.com/security/data/fix/linux/alsa-2023-3018.md) | May 16, 2023 |
| Linux | libarchive almalinux 9 | 3.5.3-4.el9 | [ALSA-2023:2532](https://patchblox.com/security/data/fix/linux/alsa-2023-2532.md) | May 9, 2023 |
| Linux | libarchive amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | libarchive ol 8 | 0:3.3.3-5.el8 | [ELSA-2023-3018](https://patchblox.com/security/data/fix/linux/elsa-2023-3018.md) | May 24, 2023 |
| Linux | libarchive ol 9 | 0:3.5.3-4.el9 | [ELSA-2023-2532](https://patchblox.com/security/data/fix/linux/elsa-2023-2532.md) | May 15, 2023 |
| Linux | libarchive rocky 8 | 0:3.3.3-5.el8 | [RLSA-2023:3018](https://patchblox.com/security/data/fix/linux/rlsa-2023-3018.md) | Mar 20, 2026 |
| Linux | libarchive-debuginfo amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | libarchive-debugsource amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | libarchive-devel RHEL 8 | 0:3.3.3-5.el8 | [RHSA-2023:3018](https://patchblox.com/security/data/fix/linux/rhsa-2023-3018.md) | May 16, 2023 |
| Linux | libarchive-devel RHEL 9 | 0:3.5.3-4.el9 | [RHSA-2023:2532](https://patchblox.com/security/data/fix/linux/rhsa-2023-2532.md) | May 9, 2023 |
| Linux | libarchive-devel almalinux 8 | 3.3.3-5.el8 | [ALSA-2023:3018](https://patchblox.com/security/data/fix/linux/alsa-2023-3018.md) | May 16, 2023 |
| Linux | libarchive-devel almalinux 9 | 3.5.3-4.el9 | [ALSA-2023:2532](https://patchblox.com/security/data/fix/linux/alsa-2023-2532.md) | May 9, 2023 |
| Linux | libarchive-devel amzn 2023 | 3.5.3-2.amzn2023.0.3 | [ALAS2023-2023-246](https://patchblox.com/security/data/fix/linux/alas2023-2023-246.md) | Jul 5, 2023 |
| Linux | libarchive-devel ol 8 | 0:3.3.3-5.el8 | [ELSA-2023-3018](https://patchblox.com/security/data/fix/linux/elsa-2023-3018.md) | May 24, 2023 |
| Linux | libarchive-devel ol 9 | 0:3.5.3-4.el9 | [ELSA-2023-2532](https://patchblox.com/security/data/fix/linux/elsa-2023-2532.md) | May 15, 2023 |
| Linux | libarchive-tools Ubuntu 18.04.6 LTS (bionic) | 3.2.2-3.1ubuntu0.7+esm1 | [libarchive-tools 3.2.2-3.1ubuntu0.7+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libarchive-tools-3.2.2-3.1ubuntu0.7-esm1.md) | Nov 21, 2022 |
| Linux | libarchive-tools Ubuntu 20.04 LTS (focal) | 3.4.0-2ubuntu1.3 | [libarchive-tools 3.4.0-2ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libarchive-tools-3.4.0-2ubuntu1.3.md) | Nov 21, 2022 |
| Linux | libarchive-tools Ubuntu 22.04.1 LTS (jammy) | 3.6.0-1ubuntu1.2 | [libarchive-tools 3.6.0-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libarchive-tools-3.6.0-1ubuntu1.2.md) | Oct 10, 2024 |
| Linux | libarchive13 Ubuntu 18.04.6 LTS (bionic) | 3.2.2-3.1ubuntu0.7+esm1 | [libarchive13 3.2.2-3.1ubuntu0.7+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libarchive13-3.2.2-3.1ubuntu0.7-esm1.md) | Nov 21, 2022 |
| Linux | libarchive13 Ubuntu 20.04 LTS (focal) | 3.4.0-2ubuntu1.3 | [libarchive13 3.4.0-2ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libarchive13-3.4.0-2ubuntu1.3.md) | Nov 21, 2022 |
| Linux | libarchive13 Ubuntu 22.04.1 LTS (jammy) | 3.6.0-1ubuntu1.2 | [libarchive13 3.6.0-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libarchive13-3.6.0-1ubuntu1.2.md) | Oct 10, 2024 |

---

Data as of 2026-11-08T13:06:02Z 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.
