# CVE-2022-36227

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-11-22 · Modified: 2026-10-08
- Aliases: ALPINE-CVE-2022-36227, MGASA-2022-0453, SUSE-SU-2022:4202-1, SUSE-SU-2022:4209-1, SUSE-SU-2022:4296-1, RHSA-2023:2532, RHSA-2023:3018, RHSA-2024:0146, UBUNTU-CVE-2022-36227, DEBIAN-CVE-2022-36227, DLA-3294-1, CGA-98vh-hj7h-9q53, CGA-f9xh-jrfx-c3q3, openSUSE-SU-2024:12588-1
- Record: https://cvemate.com/vulnerability/CVE-2022-36227 · JSON: https://cvemate.com/vulnerability/CVE-2022-36227/json

## Description

```text
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."
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.682%, percentile 86.314%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 30)

- alpine libarchive (Alpine Linux): ≥ 3.0.0, \< 3.5.3-r1 \| ≥ 3.0.0, \< 3.6.1-r1 \| ≥ 3.0.0, \< 3.6.1-r2
- chainguard libarchive (Chainguard): \< 3.6.1-r2
- wolfi libarchive (Wolfi): \< 3.6.1-r2
- debian libarchive (Debian): \< 3.3.3-4+deb10u3 \| \< 3.6.2-1
- ubuntu libarchive (Ubuntu): \< 3.1.2-7ubuntu2.8+esm3 \| \< 3.1.2-11ubuntu0.16.04.8+esm1 \| \< 3.2.2-3.1ubuntu0.7+esm1 \| \< 3.4.0-2ubuntu1.3 \| \< 3.6.0-1ubuntu1.2
- debian debian\_linux: 10.0
- fedoraproject fedora: 37
- libarchive libarchive: ≥ 3.0.0, \< 3.6.2
- mageia libarchive (Mageia): \< 3.6.1-1.1.mga8
- opensuse bsdtar&distro=openSUSE Tumbleweed (openSUSE): \< 3.6.2-1.1
- opensuse libarchive&distro=openSUSE Leap 15.3 (openSUSE): \< 3.4.2-150200.4.15.1
- opensuse libarchive&distro=openSUSE Leap 15.4 (openSUSE): \< 3.5.1-150400.3.12.1
- opensuse libarchive&distro=openSUSE Leap Micro 5.3 (openSUSE): \< 3.5.1-150400.3.12.1
- redhat bsdcat-debuginfo (Red Hat): \< 0:3.5.3-4.el9 \| \< 0:3.3.3-5.el8 \| \< 0:3.3.3-4.el8\_6
- redhat bsdcpio-debuginfo (Red Hat): \< 0:3.5.3-4.el9 \| \< 0:3.3.3-5.el8 \| \< 0:3.3.3-4.el8\_6
- redhat bsdtar (Red Hat): \< 0:3.5.3-4.el9 \| \< 0:3.3.3-5.el8 \| \< 0:3.3.3-4.el8\_6
- redhat bsdtar-debuginfo (Red Hat): \< 0:3.5.3-4.el9 \| \< 0:3.3.3-5.el8 \| \< 0:3.3.3-4.el8\_6
- redhat libarchive (Red Hat): \< 0:3.5.3-4.el9 \| \< 0:3.3.3-5.el8 \| \< 0:3.3.3-4.el8\_6
- redhat libarchive-debuginfo (Red Hat): \< 0:3.5.3-4.el9 \| \< 0:3.3.3-5.el8 \| \< 0:3.3.3-4.el8\_6
- redhat libarchive-debugsource (Red Hat): \< 0:3.5.3-4.el9 \| \< 0:3.3.3-5.el8 \| \< 0:3.3.3-4.el8\_6

## References (first 20 of 34)

- <https://github.com/libarchive/libarchive/issues/1754>
- <https://bugs.gentoo.org/882521>
- <https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/>
- <https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html>
- <https://security.gentoo.org/glsa/202309-14>
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html>
- <https://security.alpinelinux.org/vuln/CVE-2022-36227>
- <https://advisories.mageia.org/MGASA-2022-0453.html>
- <https://bugs.mageia.org/show_bug.cgi?id=31179>
- <https://lists.suse.com/pipermail/sle-security-updates/2022-November/013094.html>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/N4XUJQ5ZT6HWNXMENJI7BA5SJHZCQSOO/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20224202-1/>
- <https://bugzilla.suse.com/1205629>
- <https://www.suse.com/security/cve/CVE-2022-36227>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20224209-1/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20224296-1/>
- <https://access.redhat.com/errata/RHSA-2023:2532>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.2_release_notes/index>

---

Data as of 2026-12-05T03:08:42.600Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
