Home / Libarchive / Libarchive / CVE-2022-36227
CVE-2022-36227: is it exploited, and which versions of Libarchive are affected and fixed?
CVE-2022-36227 is a NULL pointer dereference (crash) vulnerability in Libarchive. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: libarchive from 3.0.0 before 3.6.2, debian linux 10.0, fedora 37 and 3 more (NVD). Fixed in 3.6.2, 8.2.12 and 9.0.6 (NVD). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-36227?
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."
From the CVE record by mitre, last updated October 8, 2026, 21:03 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libarchive | libarchive | from 3.0.0 before 3.6.2 | application |
| debian | debian linux | 10.0 | operating system |
| fedoraproject | fedora | 37 | operating system |
| splunk | universal forwarder | from 8.2.0 before 8.2.12 | application |
| splunk | universal forwarder | from 9.0.0 before 9.0.6 | application |
| splunk | universal forwarder | 9.1.0 | application |
NVD analysis (status Modified), last modified October 8, 2026, 21:17 UTC.
How severe is CVE-2022-36227?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-36227 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 8, 2026)
- EPSS
- 2.68% probability of exploitation activity in the next 30 days, percentile 86.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
- 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
- FEDORA-2022-e15be0091f vendor-advisory
- [debian-lts-announce] 20230130 [SECURITY] [DLA 3294-1] libarchive security update mailing-list
- GLSA-202309-14 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html
When was it published, and where is the official record?
- Reserved
- July 18, 2022
- Published
- November 22, 2022, 00:00 UTC
- CVE record updated
- October 8, 2026, 21:03 UTC by mitre
- NVD
- Modified, last modified October 8, 2026, 21:17 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libarchive?
- Sep 14, 2026CVE-2025-64031 libarchive: heap buffer overflow
- Nov 5, 2025CVE-2025-60753 Libarchive: denial of service (uncontrolled resource consumption)
- Mar 28, 2025CVE-2024-48615 Libarchive: NULL pointer dereference (crash)
- Mar 2, 2025CVE-2025-25724 libarchive: unchecked return value
- Feb 24, 2025CVE-2025-1632 libarchive: NULL pointer dereference (crash)
- Feb 16, 2025CVE-2024-57970 libarchive: buffer Over-read
- Oct 10, 2024CVE-2024-48958 Libarchive: out-of-bounds read
- Oct 10, 2024CVE-2024-48957 Libarchive: out-of-bounds read
Questions about CVE-2022-36227
Is CVE-2022-36227 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 2.68% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Libarchive are affected by CVE-2022-36227?
libarchive from 3.0.0 before 3.6.2, debian linux 10.0, fedora 37, universal forwarder from 8.2.0 before 8.2.12, universal forwarder from 9.0.0 before 9.0.6 and universal forwarder 9.1.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2022-36227?
3.6.2, 8.2.12 and 9.0.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-36227?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-36227?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.