VDB

CVE-2022-36227

CVE-2022-36227 PUBLISHED CVSS 9.800000190734863 CRITICAL

Reported by mitre · Published November 22, 2022

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libarchiveChainguard3.6.1-r2

Risk scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
chainguardlibarchive0
n/an/a*
amazon:2023bsdcpio0
amazon:2023bsdcat0
amazon:2libarchive-devel0
amazon:2bsdcpio0
amazon:2023bsdtar0
ConanCenterlibarchive3.0.0
alpinelibarchive0, 0, 0
amazon:2libarchive0
amazon:2023libarchive0
amazon:2023libarchive-devel0
amazon:2bsdtar0
wolfilibarchive0

Timeline

  • Nov 21, 2022 CVE Published
  • Nov 22, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (66 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (63 in total, the first dated here)
  • Jun 20, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-36227
vulnetix vdb fixes CVE-2022-36227

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-36227/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›