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."
{
"sources": [
{
"id": "CVE-2022-36227",
"published": "2022-11-22T02:15:11.003Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-36227",
"modified": "2025-11-03T22:15:59.710Z",
"imported": "2025-11-25T21:58:26.863Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-36227"
}
],
"license": "CC-BY-4.0"
}