CVE-2022-36227

published 22 Nov 2022 · updated 8 Oct 2026

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

9.8CriticalCVSS 9.8EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. No fixed version is recorded.

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

Timeline

Every event on this vulnerability

Severity changedCVE-2022-36227·
9.8Critical

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-36227 severity on Zeptric[![CVE-2022-36227](https://zeptric.io/badge/cve/CVE-2022-36227.svg)](https://zeptric.io/cve/CVE-2022-36227)