{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-36227","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","dateUpdated":"2025-11-03T21:46:29.036Z","dateReserved":"2022-07-18T00:00:00.000Z","datePublished":"2022-11-22T00:00:00.000Z"},"containers":{"cna":{"providerMetadata":{"orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre","dateUpdated":"2023-09-29T16:06:28.926Z"},"descriptions":[{"lang":"en","value":"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.\""}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/libarchive/libarchive/issues/1754"},{"url":"https://bugs.gentoo.org/882521"},{"url":"https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215"},{"name":"FEDORA-2022-e15be0091f","tags":["vendor-advisory"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/"},{"name":"[debian-lts-announce] 20230130 [SECURITY] [DLA 3294-1] libarchive security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html"},{"name":"GLSA-202309-14","tags":["vendor-advisory"],"url":"https://security.gentoo.org/glsa/202309-14"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/libarchive/libarchive/issues/1754","tags":["x_transferred"]},{"url":"https://bugs.gentoo.org/882521","tags":["x_transferred"]},{"url":"https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215","tags":["x_transferred"]},{"name":"FEDORA-2022-e15be0091f","tags":["vendor-advisory","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/"},{"name":"[debian-lts-announce] 20230130 [SECURITY] [DLA 3294-1] libarchive security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html"},{"name":"GLSA-202309-14","tags":["vendor-advisory","x_transferred"],"url":"https://security.gentoo.org/glsa/202309-14"},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T21:46:29.036Z"}}]}}