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
CWE-587 (Assignment of a Fixed Address to a Pointer) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
1 recorded CVE is caused by CWE-587 (Assignment of a Fixed Address to a Pointer).
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.