What it is
Sensitive memory is cleared according to the source code, but compiler optimizations leave the memory untouched when it is not read from again, aka dead store removal.
Impact on systems
| Scope | Impact |
|---|---|
| Confidentiality, Access Control | Read Memory, Bypass Protection Mechanism This weakness will allow data that has not been cleared from memory to be read. If this data contains sensitive password information, then an attacker can read the password and use the information to bypass protection mechanisms. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website