CVE-2022-36227 — In libarchive before 3
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 disp
Published
2022-11-22T02:15:11.003
Last modified
2026-10-08T21:17:48.930
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
01What is this vulnerability?
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…
02Affected products
No structured affected-product list available — see references below for vendor advisories.
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2022-11-22T02:15:11.003
- Last modified: 2026-10-08T21:17:48.930
09References
- bugs.gentoo.org — https://bugs.gentoo.org/882521
- github.com — https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c…
- github.com — https://github.com/libarchive/libarchive/issues/1754
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html
- lists.fedoraproject.org — https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro…
- security.gentoo.org — https://security.gentoo.org/glsa/202309-14
- bugs.gentoo.org — https://bugs.gentoo.org/882521
- github.com — https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c…
- github.com — https://github.com/libarchive/libarchive/issues/1754
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →