CVE-2022-36227
Fixed in a distro release EPSS 2%
In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution."
Products: libarchive, debian_linux, fedoraproject fedora, splunk universal_forwarder
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | bsdtar | 3.3.3-5.el8 |
| AlmaLinux 8 | libarchive | 3.3.3-5.el8 |
| AlmaLinux 8 | libarchive-devel | 3.3.3-5.el8 |
| AlmaLinux 9 | bsdtar | 3.5.3-4.el9 |
| AlmaLinux 9 | libarchive | 3.5.3-4.el9 |
| AlmaLinux 9 | libarchive-devel | 3.5.3-4.el9 |
| Alpine 3.14 | libarchive | 3.5.3-r1 |
| Alpine 3.15 | libarchive | 3.6.1-r1 |
| Alpine 3.16 | libarchive | 3.6.1-r1 |
| Alpine 3.17 | libarchive | 3.6.1-r2 |
| Alpine 3.18 | libarchive | 3.6.1-r2 |
| Alpine 3.19 | libarchive | 3.6.1-r2 |
| Alpine 3.20 | libarchive | 3.6.1-r2 |
| Alpine 3.21 | libarchive | 3.6.1-r2 |
| Alpine 3.22 | libarchive | 3.6.1-r2 |
| Alpine 3.23 | libarchive | 3.6.1-r2 |
| Alpine 3.24 | libarchive | 3.6.1-r2 |
| Amazon Linux 2 | bsdcpio | 3.1.2-14.amzn2.0.2 |
| Amazon Linux 2 | bsdtar | 3.1.2-14.amzn2.0.2 |
| Amazon Linux 2 | libarchive | 3.1.2-14.amzn2.0.2 |
| Amazon Linux 2 | libarchive-devel | 3.1.2-14.amzn2.0.2 |
| Amazon Linux 2023 | bsdcat | 3.5.3-2.amzn2023.0.3 |
| Amazon Linux 2023 | bsdcpio | 3.5.3-2.amzn2023.0.3 |
| Amazon Linux 2023 | bsdtar | 3.5.3-2.amzn2023.0.3 |
| Amazon Linux 2023 | libarchive | 3.5.3-2.amzn2023.0.3 |
| Amazon Linux 2023 | libarchive-devel | 3.5.3-2.amzn2023.0.3 |
| Chainguard | libarchive | 3.6.1-r2 |
| Debian 10 | libarchive | 3.3.3-4+deb10u3 |
| Debian 11 | libarchive | 3.4.3-2+deb11u2 |
| Debian 12 | libarchive | 3.6.2-1 |
| Debian 13 | libarchive | 3.6.2-1 |
| Debian 14 | libarchive | 3.6.2-1 |
| Red Hat Enterprise Linux 8 | bsdcat-debuginfo | 0:3.3.3-5.el8 |
| Red Hat Enterprise Linux 8 | bsdcpio-debuginfo | 0:3.3.3-5.el8 |
| Red Hat Enterprise Linux 8 | bsdtar | 0:3.3.3-5.el8 |
| Red Hat Enterprise Linux 8 | bsdtar-debuginfo | 0:3.3.3-5.el8 |
| Red Hat Enterprise Linux 8 | libarchive | 0:3.3.3-5.el8 |
| Red Hat Enterprise Linux 8 | libarchive-debuginfo | 0:3.3.3-5.el8 |
| Red Hat Enterprise Linux 8 | libarchive-debugsource | 0:3.3.3-5.el8 |
| Red Hat Enterprise Linux 8 | libarchive-devel | 0:3.3.3-5.el8 |
| Red Hat Enterprise Linux 9 | bsdcat-debuginfo | 0:3.5.3-4.el9 |
| Red Hat Enterprise Linux 9 | bsdcpio-debuginfo | 0:3.5.3-4.el9 |
| Red Hat Enterprise Linux 9 | bsdtar | 0:3.5.3-4.el9 |
| Red Hat Enterprise Linux 9 | bsdtar-debuginfo | 0:3.5.3-4.el9 |
| Red Hat Enterprise Linux 9 | libarchive | 0:3.5.3-4.el9 |
| Red Hat Enterprise Linux 9 | libarchive-debuginfo | 0:3.5.3-4.el9 |
| Red Hat Enterprise Linux 9 | libarchive-debugsource | 0:3.5.3-4.el9 |
| Red Hat Enterprise Linux 9 | libarchive-devel | 0:3.5.3-4.el9 |
| Red Hat rhel eus 8.6 | bsdcat-debuginfo | 0:3.3.3-4.el8_6 |
| Red Hat rhel eus 8.6 | bsdcpio-debuginfo | 0:3.3.3-4.el8_6 |
| Red Hat rhel eus 8.6 | bsdtar | 0:3.3.3-4.el8_6 |
| Red Hat rhel eus 8.6 | bsdtar-debuginfo | 0:3.3.3-4.el8_6 |
| Red Hat rhel eus 8.6 | libarchive | 0:3.3.3-4.el8_6 |
| Red Hat rhel eus 8.6 | libarchive-debuginfo | 0:3.3.3-4.el8_6 |
| Red Hat rhel eus 8.6 | libarchive-debugsource | 0:3.3.3-4.el8_6 |
| Red Hat rhel eus 8.6 | libarchive-devel | 0:3.3.3-4.el8_6 |
| Rocky Linux 8 | libarchive | 0:3.3.3-5.el8 |
| SUSE Linux Enterprise Micro 5.3 | libarchive | 3.5.1-150400.3.12.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | libarchive | 3.4.2-150200.4.15.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | libarchive | 3.5.1-150400.3.12.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | libarchive | 3.4.2-150200.4.15.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | libarchive | 3.5.1-150400.3.12.1 |
| SUSE Linux Enterprise Server 12 SP5 | libarchive | 3.3.3-32.8.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | libarchive | 3.3.3-32.8.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | libarchive | 3.3.3-32.8.1 |
| Ubuntu 20.04 LTS | libarchive | 3.4.0-2ubuntu1.3 |
| Ubuntu 22.04 LTS | libarchive | 3.6.0-1ubuntu1.2 |
| Ubuntu 24.04 LTS | libarchive | 3.7.2-2ubuntu0.2 |
| Ubuntu Pro 14.04 LTS | libarchive | 3.1.2-7ubuntu2.8+esm3 |
| Ubuntu Pro 16.04 LTS | libarchive | 3.1.2-11ubuntu0.16.04.8+esm1 |
| Ubuntu Pro 18.04 LTS | libarchive | 3.2.2-3.1ubuntu0.7+esm1 |
| Wolfi | libarchive | 3.6.1-r2 |
| openSUSE Leap 15.3 | libarchive | 3.4.2-150200.4.15.1 |
| openSUSE Leap 15.4 | libarchive | 3.5.1-150400.3.12.1 |
| openSUSE Leap Micro 5.3 | libarchive | 3.5.1-150400.3.12.1 |
| openSUSE Tumbleweed | bsdtar | 3.6.2-1.1 |