CWE-587: Assignment of a Fixed Address to a Pointer
The product sets a pointer to a specific address other than NULL or 0.
Last updated
Overview
Using a fixed address is not portable, because that address will probably not be valid in all environments or platforms.
Real-world CVEs
1 recorded CVEs are caused by CWE-587 (Assignment of a Fixed Address to a Pointer). The highest-severity and most recent are shown first.
Common consequences
What can happen when CWE-587 is exploited.
Execute Unauthorized Code or Commands
Affects: Integrity, Confidentiality, Availability
If one executes code at a known location, an attacker might be able to inject code there beforehand.
DoS: Crash, Exit, or Restart, Reduce Maintainability, Reduce Reliability
Affects: Availability
If the code is ported to another platform or environment, the pointer is likely to be invalid and cause a crash.
Read Memory, Modify Memory
Affects: Confidentiality, Integrity
The data at a known pointer location can be easily read or influenced by an attacker.