NULL Pointer Dereference in libarchive Affects Multiple Distributions
CVE-2022-36227
9.8CRITICAL
What is CVE-2022-36227?
In libarchive versions prior to 3.6.2, an error is not checked after the calloc function is called, which could yield a NULL pointer if memory allocation fails. This scenario may result in a NULL pointer dereference, leading to potential memory access issues. There is ongoing debate regarding the exploitability of this vulnerability, with some experts suggesting that under specific conditions, writing to or reading from the NULL pointer could lead to code execution, especially if privileged code is involved.