CWE•Compound•Draft•6 recent CVEs
CWE-690Unchecked Return Value to NULL Pointer Dereference
Description
The product does not check for an error after calling a function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference.
Common consequences
- Availability→DoS: Crash, Exit, or Restart
- Integrity,Confidentiality,Availability→Execute Unauthorized Code or Commands,Read Memory,Modify MemoryIn 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.